aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/termkey.patch
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-03-03 21:16:10 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-03-03 21:16:10 -0500
commitf82726891b4cd2f323ce882e5aa6d71227dda887 (patch)
treec4e83fe34991796b703f89248cb713f1a825696f /src/termkey.patch
parentdc2f9f6b390b9fc8813505b8852d2a2c733b07e8 (diff)
Fixed hang in terminal version on Windows caused by libtermkey update.
Diffstat (limited to 'src/termkey.patch')
-rw-r--r--src/termkey.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/termkey.patch b/src/termkey.patch
index fd97e2e5..6fdb3597 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,13 @@
+@@ -3,8 +3,14 @@
#include <ctype.h>
#include <errno.h>
@@ -164,7 +164,8 @@ diff -r 49c8684413c0 termkey.c
#include <unistd.h>
+#else
+#define ssize_t int
-+#define strcasecmp _stricmp
++// TODO: _stricmp causes a hang
++#define strcasecmp strcmp
+#endif
#include <string.h>