GCC doesn't support __has_attribute.

llvm-svn: 180683
This commit is contained in:
Joerg Sonnenberger 2013-04-27 20:51:42 +00:00
parent e5fde996dc
commit a39fe8c59e
1 changed files with 4 additions and 0 deletions

View File

@ -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