src/video/x11/SDL_x11dyn.c
changeset 7825 10be1bae0f7a
parent 7191 75360622e65f
child 7827 a03ec8de0426
--- a/src/video/x11/SDL_x11dyn.c	Thu Oct 17 17:37:23 2013 -0700
+++ b/src/video/x11/SDL_x11dyn.c	Thu Oct 17 17:38:55 2013 -0700
@@ -131,7 +131,9 @@
 #undef SDL_X11_SYM
 
 
+#ifdef SDL_VIDEO_DRIVER_X11_DYNAMIC
 static int x11_load_refcount = 0;
+#endif
 
 void
 SDL_X11_UnloadSymbols(void)