aboutsummaryrefslogtreecommitdiff
path: root/src/termkey.patch
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-02-25 00:00:57 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2018-02-25 00:00:57 -0500
commit59a3fae0780bc9cea48bf0150b230b96c79d8d48 (patch)
tree37678f9a70e8537afdbc962bb8db26f681bfb09f /src/termkey.patch
parent66ffc4b9c294218402c0c7aed59d5b4442092d5c (diff)
downloadtextadept-59a3fae0780bc9cea48bf0150b230b96c79d8d48.tar.gz
textadept-59a3fae0780bc9cea48bf0150b230b96c79d8d48.zip
Attempt to fix some compiler warnings and errors recently introduced.
Diffstat (limited to 'src/termkey.patch')
-rw-r--r--src/termkey.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/termkey.patch b/src/termkey.patch
index 1a831637..fd97e2e5 100644
--- a/src/termkey.patch
+++ b/src/termkey.patch
@@ -155,7 +155,7 @@ diff -r 49c8684413c0 termkey-internal.h
diff -r 49c8684413c0 termkey.c
--- a/termkey.c Tue Dec 23 10:36:54 2014 -0500
+++ b/termkey.c Tue Dec 23 13:31:50 2014 -0500
-@@ -3,8 +3,12 @@
+@@ -3,8 +3,13 @@
#include <ctype.h>
#include <errno.h>
@@ -164,6 +164,7 @@ diff -r 49c8684413c0 termkey.c
#include <unistd.h>
+#else
+#define ssize_t int
++#define strcasecmp _stricmp
+#endif
#include <string.h>