get rid of unused span->start field
[mesa.git] / progs / xdemos / glxswapcontrol.c
index 98b3d1b58f17e25da351b9cea875bd2c13b5bd7e..0ed5ebe4722a0ab537e39dabcc9b304ffc7e0964 100644 (file)
@@ -576,7 +576,7 @@ event_loop(Display *dpy, Window win)
 static void
 show_refresh_rate( Display * dpy )
 {
-#if defined(GLX_OML_sync_control) && (__STDC_VERSION__ >= 199901L)
+#if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
    PFNGLXGETMSCRATEOMLPROC  get_msc_rate;
    int32_t  n;
    int32_t  d;