[cfe-commits] [libcxx] r132334 - /libcxx/trunk/include/__config
Howard Hinnant
hhinnant at apple.com
Tue May 31 06:13:49 PDT 2011
Author: hhinnant
Date: Tue May 31 08:13:49 2011
New Revision: 132334
URL: http://llvm.org/viewvc/llvm-project?rev=132334&view=rev
Log:
Add _ATTRIBUTE macro for gcc: Justin Hibbits
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=132334&r1=132333&r2=132334&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Tue May 31 08:13:49 2011
@@ -183,6 +183,8 @@
#elif defined(__GNUC__)
+#define _ATTRIBUTE(x) __attribute__((x))
+
#if !__EXCEPTIONS
#define _LIBCPP_NO_EXCEPTIONS
#endif
More information about the cfe-commits
mailing list