summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2015-10-27 13:23:13 +0100
committerAdam Jackson <ajax@redhat.com>2015-10-27 11:10:52 -0400
commit6e3892045e57808b18d053288330306119ca2252 (patch)
treeb0aef03e4314d9c09973be80e4c080ebbc073c9e
parentbf003230f93b2a537b01ab976b7ced83d053e0eb (diff)
Xext: fix build with --disable-xace
Regression from 990cf5b2828f73dc7a07f1e38f608af39acfd81d Signed-off-by: Julien Cristau <jcristau@debian.org> Cc: Andrew Eikum <aeikum@codeweavers.com> Cc: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> (cherry picked from commit 524844c8c18e226aad30feb371b19ef491d83449)
-rw-r--r--Xext/xace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index 3303f76bc..6a8d0c4bd 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -112,6 +112,7 @@ extern _X_EXPORT void XaceCensorImage(ClientPtr client,
#ifdef __GNUC__
#define XaceHook(args...) Success
+#define XaceHookIsSet(args...) 0
#define XaceHookDispatch(args...) Success
#define XaceHookPropertyAccess(args...) Success
#define XaceHookSelectionAccess(args...) Success
@@ -119,6 +120,7 @@ extern _X_EXPORT void XaceCensorImage(ClientPtr client,
#define XaceCensorImage(args...) { ; }
#else
#define XaceHook(...) Success
+#define XaceHookIsSet(...) 0
#define XaceHookDispatch(...) Success
#define XaceHookPropertyAccess(...) Success
#define XaceHookSelectionAccess(...) Success