Conditionalize some defines that MinGW/autoconf provide

This commit is contained in:
Ben "root" Anderson
2013-10-24 18:29:58 -05:00
parent 7820c29bb4
commit 7313f2d0aa
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -161,7 +161,10 @@ inline long int lrintf( float f )
#define CRASH_HANDLER
#endif
// autoconf does this for us
#if !defined(__MINGW32__)
#define ENDIAN_LITTLE
#endif
#define OGG_LIB_DIR "../extern/vorbis/win32/"
@@ -88,7 +88,10 @@ static unsigned long rng_ansic(unsigned char *buf, unsigned long len,
/* Try the Microsoft CSP */
#if defined(WIN32) || defined(WINCE)
// XXX This probably shouldn't be hardcoded at all but I don't want to break anything
#if !defined(__MINGW32__)
#define _WIN32_WINNT 0x0400
#endif
#ifdef WINCE
#define UNDER_CE
#define ARM