prevent from optimizing out by some compilers (from XFree86 CVS)

This commit is contained in:
Alan Hourihane 2003-10-21 21:49:23 +00:00
parent 35b52c72d0
commit b1ca87a565

View file

@ -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 )
{