[MPlayer-cvslog] r37361 - in trunk: configure gui/win32/skinload.c
ib
subversion at mplayerhq.hu
Sun Jan 18 20:39:28 CET 2015
Author: ib
Date: Sun Jan 18 20:39:27 2015
New Revision: 37361
Log:
Silence warning on strcasecmp for the Win32 GUI Wine build.
Include the native glibc header file and get rid of the reference
to stricmp that way.
Modified:
trunk/configure
trunk/gui/win32/skinload.c
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Jan 16 22:38:35 2015 (r37360)
+++ trunk/configure Sun Jan 18 20:39:27 2015 (r37361)
@@ -1821,7 +1821,7 @@ if os2 ; then
fi
if wine ; then
- extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK -Dstrcasecmp=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 Fri Jan 16 22:38:35 2015 (r37360)
+++ trunk/gui/win32/skinload.c Sun Jan 18 20:39:27 2015 (r37361)
@@ -21,7 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <string.h>
+#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
More information about the MPlayer-cvslog
mailing list