From 2fe6e913ca9ec82d2b7e5b9421a8048cf4118da7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Aug 2004 21:04:04 +0000 Subject: minor fix for newest glxext.h header --- progs/xdemos/glxswapcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/xdemos') 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; -- cgit v1.2.3