diff options
Diffstat (limited to 'menu_demo/font.c')
-rw-r--r-- | menu_demo/font.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/menu_demo/font.c b/menu_demo/font.c index 9d52ada..e3773a5 100644 --- a/menu_demo/font.c +++ b/menu_demo/font.c @@ -1,9 +1,13 @@ #ifdef G_OS_WIN32
#define WIN32_LEAN_AND_MEAN 1
- #include <windows.h>
+ #include <windows.h> +#else + #define FALSE 0 + #define TRUE !FALSE
#endif
-#include <GL/gl.h>
+#include <GL/gl.h> +#include <string.h>
#include "font.h"
#include "bitmap.h"
@@ -80,4 +84,4 @@ void glPrint(GLint x, GLint y, char *string, struct ColorStruct f_sColor) glMatrixMode(GL_MODELVIEW);
glPopMatrix();
-} // glPrint
\ No newline at end of file +} // glPrint |