diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-09-19 13:12:35 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-09-22 14:30:25 -0700 |
commit | 34a95f725c200b9aedc8c634851474d9bcce712e (patch) | |
tree | 57c15f6ef54cfafea5adeb3bd8c8e3e823e8d7f0 | |
parent | 4855c9229f00927a343f563db58e261db8a187fa (diff) |
Xfuncproto.h: Define __has_extension() if it isn't already
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | Xfuncproto.h.in | 3 |
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)) |