[MPlayer-cvslog] r32295 - trunk/configure
reimar
subversion at mplayerhq.hu
Sat Sep 18 10:05:11 CEST 2010
Author: reimar
Date: Sat Sep 18 10:05:10 2010
New Revision: 32295
Log:
Fix compilation on Windows: MinGW unistd.h does not define NULL.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Sep 17 17:16:06 2010 (r32294)
+++ trunk/configure Sat Sep 18 10:05:10 2010 (r32295)
@@ -3858,7 +3858,11 @@ echocheck "swab()"
cat > $TMPC << EOF
#define _XOPEN_SOURCE 600
#include <unistd.h>
-int main(void) { swab(NULL, NULL, 0); return 0; }
+int main(void) {
+ int a = 0, b = 0;
+ swab(&a, &b, 0);
+ return 0;
+}
EOF
_swab=no
cc_check && _swab=yes
More information about the MPlayer-cvslog
mailing list