r763 - in trunk: . platform
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 6 02:25:48 EDT 2005
Author: icculus
Date: 2005-09-06 02:25:48 -0400 (Tue, 06 Sep 2005)
New Revision: 763
Modified:
trunk/configure.in
trunk/platform/win32.c
Log:
Some minor (albeit incomplete) MingW fixes.
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2005-09-06 06:24:42 UTC (rev 762)
+++ trunk/configure.in 2005-09-06 06:25:48 UTC (rev 763)
@@ -399,8 +399,13 @@
AC_MSG_RESULT([$this_is_cygwin])
AC_MSG_CHECKING([if this is mingw])
+if test x$target_os = xmingw32; then
+ this_is_mingw=yes
+fi
if test x$target_os = xmingw32msvc; then
this_is_mingw=yes
+fi
+if test x$this_is_mingw = xyes; then
PHYSFSCFLAGS="$PHYSFSCFLAGS -DWIN32"
enable_cdrom=yes
enable_pthreads=no
Modified: trunk/platform/win32.c
===================================================================
--- trunk/platform/win32.c 2005-09-06 06:24:42 UTC (rev 762)
+++ trunk/platform/win32.c 2005-09-06 06:25:48 UTC (rev 763)
@@ -25,7 +25,7 @@
#if (defined _MSC_VER)
#define alloca(x) _alloca(x)
-#elif (defined MINGW) /* scary...hopefully this is okay. */
+#elif (defined __MINGW32__) /* scary...hopefully this is okay. */
#define alloca(x) __builtin_alloca(x)
#endif
More information about the physfs-commits
mailing list