r37357 - trunk/gui/win32/skinload.c
14 Jan
2015
14 Jan
'15
5:48 p.m.
Author: ib Date: Wed Jan 14 18:48:59 2015 New Revision: 37357 Log: Define stricmp for the Win32 GUI if non-existent. This fixes a compile problem with recent Cygwin. Reported by Stephen Sheldon, sfsheldo gmail com. Modified: trunk/gui/win32/skinload.c Modified: trunk/gui/win32/skinload.c ============================================================================== --- trunk/gui/win32/skinload.c Mon Jan 12 13:09:20 2015 (r37356) +++ trunk/gui/win32/skinload.c Wed Jan 14 18:48:59 2015 (r37357) @@ -39,6 +39,12 @@ #include "gui/util/mem.h" #include "gui/util/bitmap.h" +#ifndef stricmp +#ifdef __CYGWIN__ +#define stricmp strcasecmp +#endif +#endif + #define MAX_LINESIZE 256 typedef struct
4252
Age (days ago)
4252
Last active (days ago)
0 comments
1 participants
participants (1)
-
ib