Commit 61fdf93e authored by Thomas Klausner's avatar Thomas Klausner Committed by Ulrich Sibiller

Check for symbol existence with #ifdef, not #if

parent d122d754
...@@ -901,7 +901,7 @@ void _XSeqSyncFunction( ...@@ -901,7 +901,7 @@ void _XSeqSyncFunction(
static int static int
_XPrivSyncFunction (Display *dpy) _XPrivSyncFunction (Display *dpy)
{ {
#if XTHREADS #ifdef XTHREADS
assert(!dpy->lock_fns); assert(!dpy->lock_fns);
#endif #endif
assert(dpy->synchandler == _XPrivSyncFunction); assert(dpy->synchandler == _XPrivSyncFunction);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment