make source compile under MinGW32

todo: link against OpenGL GLU/GLUT.
This commit is contained in:
ejcoumans
2008-01-30 01:09:01 +00:00
parent 97e96c243b
commit 5c40e615bd
7 changed files with 21 additions and 11 deletions

View File

@@ -12,6 +12,8 @@ typedef union
void *p;
} addr64;
#define USE_WIN32_THREADING 1
#if defined(__MINGW32__) || defined(__CYGWIN__) || (defined (_MSC_VER) && _MSC_VER < 1300)
#else
#endif //__MINGW32__
@@ -26,7 +28,7 @@ typedef union
#include <string.h> //memcpy
#define USE_WIN32_THREADING 1
#include <stdio.h>
#define spu_printf printf