Visual Studio fixes

This commit is contained in:
jacksonmj
2011-06-22 19:22:48 +01:00
committed by Simon Robertshaw
parent 04b3eb11fd
commit 36e2a07a5b
6 changed files with 73 additions and 35 deletions

View File

@@ -112,6 +112,12 @@ typedef unsigned int pixel;
#ifdef WIN32
#define strcasecmp stricmp
#endif
#if defined(WIN32) && !defined(__GNUC__)
#define fmin min
#define fminf min
#define fmax max
#define fmaxf max
#endif
#define SDEUT