[PATCH:libX11 3/4] Check for symbol existence with #ifdef, not #if
Thomas Klausner
wiz at NetBSD.org
Tue Jun 25 09:33:56 PDT 2013
Reviewed-by: Jamey Sharp <jamey at minilop.net>
---
src/XlibInt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/XlibInt.c b/src/XlibInt.c
index b06e57b..92a4340 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -239,7 +239,7 @@ void _XSeqSyncFunction(
static int
_XPrivSyncFunction (Display *dpy)
{
-#if XTHREADS
+#ifdef XTHREADS
assert(!dpy->lock_fns);
#endif
assert(dpy->synchandler == _XPrivSyncFunction);
--
1.8.3.1
More information about the xorg-devel
mailing list