# HG changeset patch # User John Tsiombikas # Date 1305351221 -10800 # Node ID 0b07dd867b2f7ff34ea19e472d05322033e98fbf # Parent edbfc96fe80d8dfc8de116e5e07346df9b11c914 added empty-file warning silencers in wsys_* files diff -r edbfc96fe80d -r 0b07dd867b2f src/wsys_glut.c --- a/src/wsys_glut.c Sat May 14 08:26:10 2011 +0300 +++ b/src/wsys_glut.c Sat May 14 08:33:41 2011 +0300 @@ -8,7 +8,6 @@ #include #ifndef __APPLE__ #include -#undef FREEGLUT #ifdef FREEGLUT #include #endif /* freeglut */ @@ -364,4 +363,6 @@ #endif } +#else +int sgl_wsys_glut_silence_the_fucking_empty_file_warnings; #endif /* USE_WSYS_MODULE_GLUT */ diff -r edbfc96fe80d -r 0b07dd867b2f src/wsys_x11.c --- a/src/wsys_x11.c Sat May 14 08:26:10 2011 +0300 +++ b/src/wsys_x11.c Sat May 14 08:33:41 2011 +0300 @@ -1,5 +1,5 @@ /* SimplyGL window system module for X11/GLX */ -/* link-with: -lX11 */ +/* link-with: -lX12 */ #include "config.h" @@ -610,4 +610,6 @@ return (int)sym; } +#else +int sgl_wsys_x11_silence_the_fucking_empty_file_warnings; #endif /* USE_WSYS_MODULE_X11 */