[MPlayer-cvslog] r37357 - trunk/gui/win32/skinload.c

ib subversion at mplayerhq.hu
Wed Jan 14 18:48:59 CET 2015


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


More information about the MPlayer-cvslog mailing list