From 2c1ce8e72bb03cd36f1ccfc733a88d538134f47f Mon Sep 17 00:00:00 2001 From: tijl Date: Thu, 4 Oct 2012 08:53:05 +0000 Subject: Define clang feature test macro __has_extension. It's used in stdatomic.h. --- sys/sys/cdefs.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1