Signed-off-by: Jeremy Huddleston Sequoia <jerem...@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) _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel