commit | a9b94f1337af19ab9ac897985d06f71c8ff5731a | [log] [tgz] |
---|---|---|
author | Joerg Sonnenberger <joerg@bec.de> | Sat Apr 27 20:51:42 2013 +0000 |
committer | Joerg Sonnenberger <joerg@bec.de> | Sat Apr 27 20:51:42 2013 +0000 |
tree | 1ab45fb48a8610381844277181b74e4478374f1a | |
parent | 912438c272dcf15aef344b5437287bbf90dd99aa [diff] [blame] |
GCC doesn't support __has_attribute. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180683 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/__config b/include/__config index 959390d..9136e00 100644 --- a/include/__config +++ b/include/__config
@@ -135,6 +135,10 @@ #endif // _WIN32 +#ifndef __has_attribute +#define __has_attribute(__x) 0 +#endif + #ifndef _LIBCPP_HIDDEN #define _LIBCPP_HIDDEN __attribute__ ((__visibility__("hidden"))) #endif