summaryrefslogtreecommitdiffhomepage
path: root/src/3p/chibicc/tokenize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3p/chibicc/tokenize.c')
-rw-r--r--src/3p/chibicc/tokenize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3p/chibicc/tokenize.c b/src/3p/chibicc/tokenize.c
index b13edd5..6738206 100644
--- a/src/3p/chibicc/tokenize.c
+++ b/src/3p/chibicc/tokenize.c
@@ -1,5 +1,9 @@
#include "chibicc.h"
+#ifdef _WIN32
+#define strncasecmp _strnicmp
+#endif
+
// Input file
static File *current_file;