From e26220eeae9afd9bfa4337f11da41f9e1222514c Mon Sep 17 00:00:00 2001 From: Sir Walrus Date: Wed, 22 May 2024 23:24:35 +0200 Subject: [PATCH] fix #76 v2.0 --- flips.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flips.h b/flips.h index 3cd9b5e..b1e0bea 100644 --- a/flips.h +++ b/flips.h @@ -84,7 +84,12 @@ #define wcsrchr strrchr #define wcscmp strcmp #define wcsncmp strncmp +#ifdef _WIN32 +// compiling not-windows UI on windows is a silly thing to do, but... +#define wcsicmp stricmp +#else #define wcsicmp strcasecmp +#endif //#define wcsnicmp strncasecmp #define wprintf printf #define swprintf snprintf