sgl

diff src/wsys_glut.c @ 8:0b07dd867b2f

added empty-file warning silencers in wsys_* files
author John Tsiombikas <nuclear@siggraph.org>
date Sat, 14 May 2011 08:33:41 +0300
parents edbfc96fe80d
children 1532e43bf858
line diff
     1.1 --- a/src/wsys_glut.c	Sat May 14 08:26:10 2011 +0300
     1.2 +++ b/src/wsys_glut.c	Sat May 14 08:33:41 2011 +0300
     1.3 @@ -8,7 +8,6 @@
     1.4  #include <setjmp.h>
     1.5  #ifndef __APPLE__
     1.6  #include <GL/glut.h>
     1.7 -#undef FREEGLUT
     1.8  #ifdef FREEGLUT
     1.9  #include <GL/freeglut_ext.h>
    1.10  #endif	/* freeglut */
    1.11 @@ -364,4 +363,6 @@
    1.12  #endif
    1.13  }
    1.14  
    1.15 +#else
    1.16 +int sgl_wsys_glut_silence_the_fucking_empty_file_warnings;
    1.17  #endif	/* USE_WSYS_MODULE_GLUT */