Conditionalize some defines that MinGW/autoconf provide
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user