aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-25 18:33:56 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:27 +0200
commit61fdf93ef56818c081fb775a17fdc513315957c3 (patch)
treeecb6a897bf17fb60df8912d38ffd150f4b1ab45e
parentd122d75454c9e9dbd0f2c51c259387e9182d70ec (diff)
downloadnx-libs-61fdf93ef56818c081fb775a17fdc513315957c3.tar.gz
nx-libs-61fdf93ef56818c081fb775a17fdc513315957c3.tar.bz2
nx-libs-61fdf93ef56818c081fb775a17fdc513315957c3.zip
Check for symbol existence with #ifdef, not #if
Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
-rw-r--r--nx-X11/lib/X11/XlibInt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/XlibInt.c b/nx-X11/lib/X11/XlibInt.c
index 4c4e80e6a..564d318fc 100644
--- a/nx-X11/lib/X11/XlibInt.c
+++ b/nx-X11/lib/X11/XlibInt.c
@@ -901,7 +901,7 @@ void _XSeqSyncFunction(
static int
_XPrivSyncFunction (Display *dpy)
{
-#if XTHREADS
+#ifdef XTHREADS
assert(!dpy->lock_fns);
#endif
assert(dpy->synchandler == _XPrivSyncFunction);