(svn r1266) -Fix: fix some cygwin/mingw warnings

-Note: when compiling with MinGW (-mno-cygwin) __MINGW32__ is defined; when compiling without it __CYGWIN32__ is defined. You need to set either -mno-cygwin (MinGW) or -mwin32 (Cygwin) to have WIN32 defined
This commit is contained in:
darkvater
2004-12-23 22:31:46 +00:00
parent dda14faac5
commit b249954538
4 changed files with 29 additions and 15 deletions

View File

@@ -93,6 +93,10 @@
# include <malloc.h>
#endif
#if defined(__MINGW32__) || defined(__CYGWIN__)
#include <malloc.h> // alloca()
#endif
// Stuff for MSVC
#if defined(_MSC_VER)
# include <malloc.h> // alloca()