diff options
Diffstat (limited to 'progs/xdemos/glxswapcontrol.c')
-rw-r--r-- | progs/xdemos/glxswapcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxswapcontrol.c b/progs/xdemos/glxswapcontrol.c index 98b3d1b58f..0ed5ebe472 100644 --- a/progs/xdemos/glxswapcontrol.c +++ b/progs/xdemos/glxswapcontrol.c @@ -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; |