commit | a39fe8c59e45dbee6407f1deb540815c162f0c68 | [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 | 7437270b2a7f96cdb62012a21c8ecf0f4b73e02f | |
parent | e5fde996dc5011ae181cc99dfb4bc5e97123e0dd [diff] [blame] |
GCC doesn't support __has_attribute. llvm-svn: 180683
diff --git a/libcxx/include/__config b/libcxx/include/__config index 959390d..9136e00 100644 --- a/libcxx/include/__config +++ b/libcxx/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