mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC
supporting this attribute). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
#define VISIBILITY_HIDDEN
|
#define VISIBILITY_HIDDEN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__GNUC__ >= 4)
|
#if (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
||||||
#define ATTRIBUTE_USED __attribute__((__used__))
|
#define ATTRIBUTE_USED __attribute__((__used__))
|
||||||
#else
|
#else
|
||||||
#define ATTRIBUTE_USED
|
#define ATTRIBUTE_USED
|
||||||
|
Reference in New Issue
Block a user