sgl
diff tests/simple/simple.c @ 12:bf34fa677960
- fixed mac issues.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 May 2011 12:02:22 +0300 |
parents | 0cb438c86b98 |
children | 25de96fb1526 |
line diff
1.1 --- a/tests/simple/simple.c Sat May 14 09:06:46 2011 +0300 1.2 +++ b/tests/simple/simple.c Sat May 14 12:02:22 2011 +0300 1.3 @@ -1,6 +1,10 @@ 1.4 #include <stdio.h> 1.5 #include <ctype.h> 1.6 +#ifndef __APPLE__ 1.7 #include <GL/gl.h> 1.8 +#else 1.9 +#include <OpenGL/gl.h> 1.10 +#endif 1.11 #include "sgl.h" 1.12 1.13 void disp(void);