diff options
author | Alan Hourihane <[email protected]> | 2003-10-21 21:49:23 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2003-10-21 21:49:23 +0000 |
commit | b1ca87a565033a767042120288b2c45723cf79cc (patch) | |
tree | ec7fd4ea073376482d805fe8c8d04ac97de497f8 /src | |
parent | 35b52c72d007ef2c813ab9273b9678043f278196 (diff) |
prevent from optimizing out by some compilers (from XFree86 CVS)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 2 |
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 6ebda0c14f8..2ad5a156ff5 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 ) { |