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