diff options
author | tijl <tijl@FreeBSD.org> | 2012-10-04 08:53:05 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2012-10-04 08:53:05 +0000 |
commit | 2c1ce8e72bb03cd36f1ccfc733a88d538134f47f (patch) | |
tree | e8bca8aced137eabc1c1d338e470b84f63b89544 | |
parent | 7b87b7c7117f293cd849a872696fdfa161ce22d9 (diff) | |
download | FreeBSD-src-2c1ce8e72bb03cd36f1ccfc733a88d538134f47f.zip FreeBSD-src-2c1ce8e72bb03cd36f1ccfc733a88d538134f47f.tar.gz |
Define clang feature test macro __has_extension. It's used in stdatomic.h.
-rw-r--r-- | sys/sys/cdefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 8224672..d4c78a9 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -675,6 +675,9 @@ #endif #endif +#ifndef __has_extension +#define __has_extension __has_feature +#endif #ifndef __has_feature #define __has_feature(x) 0 #endif |