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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to