From: Brian Paul Date: Fri, 13 Aug 2004 21:04:04 +0000 (+0000) Subject: minor fix for newest glxext.h header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe6e913ca9ec82d2b7e5b9421a8048cf4118da7;p=mesa.git minor fix for newest glxext.h header --- diff --git a/progs/xdemos/glxswapcontrol.c b/progs/xdemos/glxswapcontrol.c index 6a9a852e688..98b3d1b58f1 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 ) { -#ifdef GLX_OML_sync_control +#if defined(GLX_OML_sync_control) && (__STDC_VERSION__ >= 199901L) PFNGLXGETMSCRATEOMLPROC get_msc_rate; int32_t n; int32_t d;