[PATCH xproto 4/4] Xfuncproto: Add support for _X_NOTSAN macro
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Mon Sep 19 20:23:01 UTC 2016
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
---
Xfuncproto.h.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index 8a9530a..8715c9d 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -210,4 +210,11 @@ in this Software without prior written authorization from The Open Group.
# endif
#endif
+/* requires xproto >= 7.0.30 */
+#if __has_attribute(no_sanitize_thread)
+# define _X_NOTSAN __attribute__((no_sanitize_thread))
+#else
+# define _X_NOTSAN
+#endif
+
#endif /* _XFUNCPROTO_H_ */
--
2.10.0 (Apple Git-77)
More information about the xorg-devel
mailing list