Skip to content
Permalink
Browse files
Some minor (albeit incomplete) MingW fixes.
  • Loading branch information
icculus committed Sep 6, 2005
1 parent 6459921 commit 2362abe855895d90691d76e0de7828565c87a042
Showing with 6 additions and 1 deletion.
  1. +5 −0 configure.in
  2. +1 −1 platform/win32.c
@@ -399,8 +399,13 @@ fi
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
@@ -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

0 comments on commit 2362abe

Please sign in to comment.