[PATCH:libX11 6/8] Check for symbol existence with #ifdef, not #if.
Thomas Klausner
wiz at NetBSD.org
Sun Jun 2 11:49:53 PDT 2013
---
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.2.3
More information about the xorg-devel
mailing list