Visual Studio compatibility

Also fix two compiler warnings
This commit is contained in:
jacksonmj
2011-02-13 00:05:09 +00:00
parent 457ceeff0a
commit d57c5ef5e0
4 changed files with 16 additions and 11 deletions

View File

@@ -83,6 +83,10 @@ typedef unsigned int pixel;
#define GLASS_IOR 1.9
#define GLASS_DISP 0.07
#ifdef WIN32
#define strcasecmp stricmp
#endif
typedef unsigned char uint8;
extern int amd;