Subject: | Unable to compile on windows using visual studio 2008 or higher |
strncasecmp is not supported by visual studio starting with vs 2008.
Easy to fix. patch attached.
--
Dez.
Subject: | guitest_patch.diff |
*** GuiTest.xs.orig 2016-01-28 16:48:20.209235100 -0500
--- GuiTest.xs 2016-01-28 16:26:41.862343200 -0500
***************
*** 40,45 ****
--- 40,46 ----
#define SHARED_ATTR __attribute__((section ("shared_seg"), shared))
#else
#define SHARED_ATTR
+ #define strncasecmp _strnicmp
#endif
#pragma data_seg(".shared")