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
|
#define CRASH_HANDLER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// autoconf does this for us
|
||||||
|
#if !defined(__MINGW32__)
|
||||||
#define ENDIAN_LITTLE
|
#define ENDIAN_LITTLE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OGG_LIB_DIR "../extern/vorbis/win32/"
|
#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 */
|
/* Try the Microsoft CSP */
|
||||||
#if defined(WIN32) || defined(WINCE)
|
#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
|
#define _WIN32_WINNT 0x0400
|
||||||
|
#endif
|
||||||
#ifdef WINCE
|
#ifdef WINCE
|
||||||
#define UNDER_CE
|
#define UNDER_CE
|
||||||
#define ARM
|
#define ARM
|
||||||
|
|||||||
Reference in New Issue
Block a user