Add _ATTRIBUTE macro for gcc: Justin Hibbits

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2011-05-31 13:13:49 +00:00
parent a6119a86c5
commit c26fd8061e

View File

@ -183,6 +183,8 @@ namespace std {
#elif defined(__GNUC__)
#define _ATTRIBUTE(x) __attribute__((x))
#if !__EXCEPTIONS
#define _LIBCPP_NO_EXCEPTIONS
#endif