svn commit: r241190 - head/sys/sys
Tijl Coosemans
tijl at FreeBSD.org
Thu Oct 4 08:53:06 UTC 2012
Author: tijl
Date: Thu Oct 4 08:53:05 2012
New Revision: 241190
URL: http://svn.freebsd.org/changeset/base/241190
Log:
Define clang feature test macro __has_extension. It's used in stdatomic.h.
Modified:
head/sys/sys/cdefs.h
Modified: head/sys/sys/cdefs.h
==============================================================================
--- head/sys/sys/cdefs.h Thu Oct 4 08:49:41 2012 (r241189)
+++ head/sys/sys/cdefs.h Thu Oct 4 08:53:05 2012 (r241190)
@@ -675,6 +675,9 @@
#endif
#endif
+#ifndef __has_extension
+#define __has_extension __has_feature
+#endif
#ifndef __has_feature
#define __has_feature(x) 0
#endif
More information about the svn-src-head
mailing list