mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC
supporting this attribute). llvm-svn: 82177
This commit is contained in:
parent
0076ee9e6e
commit
2f6ea4ae21
@ -23,7 +23,7 @@
|
||||
#define VISIBILITY_HIDDEN
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ >= 4)
|
||||
#if (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
||||
#define ATTRIBUTE_USED __attribute__((__used__))
|
||||
#else
|
||||
#define ATTRIBUTE_USED
|
||||
|
Loading…
Reference in New Issue
Block a user