[MPlayer-cvslog] r37358 - in trunk: configure gui/win32/skinload.c

ib subversion at mplayerhq.hu
Wed Jan 14 18:51:27 CET 2015


Author: ib
Date: Wed Jan 14 18:51:27 2015
New Revision: 37358

Log:
Relocate stricmp definition for Wine.

Remove it from the configure script.

Modified:
   trunk/configure
   trunk/gui/win32/skinload.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jan 14 18:48:59 2015	(r37357)
+++ trunk/configure	Wed Jan 14 18:51:27 2015	(r37358)
@@ -1821,7 +1821,7 @@ if os2 ; then
 fi
 
 if wine ; then
-  extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK -Dstricmp=lstrcmpiA $extra_cflags"
+  extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK $extra_cflags"
 fi
 
 if darwin && test "$cc_vendor" != "clang" ; then

Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c	Wed Jan 14 18:48:59 2015	(r37357)
+++ trunk/gui/win32/skinload.c	Wed Jan 14 18:51:27 2015	(r37358)
@@ -43,6 +43,9 @@
 #ifdef __CYGWIN__
 #define stricmp strcasecmp
 #endif
+#ifdef __WINE__
+#define stricmp lstrcmpiA
+#endif
 #endif
 
 #define MAX_LINESIZE 256


More information about the MPlayer-cvslog mailing list