mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-05 00:48:08 +00:00
GCC doesn't support __has_attribute.
llvm-svn: 180683
This commit is contained in:
parent
e5fde996dc
commit
a39fe8c59e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user