summaryrefslogtreecommitdiff
path: root/Xfuncproto.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Xfuncproto.h.in')
-rw-r--r--Xfuncproto.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index 8556c27..7f06e99 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -82,6 +82,9 @@ in this Software without prior written authorization from The Open Group.
#ifndef __has_feature
# define __has_feature(x) 0 /* Compatibility with non-clang compilers. */
#endif
+#ifndef __has_extension
+# define __has_extenstion(x) 0 /* Compatibility with non-clang compilers. */
+#endif
/* Added in X11R6.9, so available in any version of modular xproto */
#if __has_attribute(__sentinel__) || (defined(__GNUC__) && (__GNUC__ >= 4))