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

@@ -40,7 +40,10 @@
# endif
/* XXX This is from Win32's <ctype.h> */
# ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
/* MinGW32 chokes on the next line */
#ifndef __MINGW32__
typedef unsigned short int wchar_t;
#endif //__MINGW32__
# define _WCHAR_T_DEFINED
# endif
# endif