summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-10-21 21:49:23 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-10-21 21:49:23 +0000
commitb1ca87a565033a767042120288b2c45723cf79cc (patch)
treeec7fd4ea073376482d805fe8c8d04ac97de497f8 /src/mesa/drivers/x11
parent35b52c72d007ef2c813ab9273b9678043f278196 (diff)
prevent from optimizing out by some compilers (from XFree86 CVS)
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 6ebda0c14f..2ad5a156ff 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -175,7 +175,7 @@ static int host_byte_order( void )
* Error handling.
*/
#ifndef XFree86Server
-static int mesaXErrorFlag = 0;
+static volatile int mesaXErrorFlag = 0;
static int mesaHandleXError( XMesaDisplay *dpy, XErrorEvent *event )
{