A local change that can go now that vax is gcc 3 and ELF
This commit is contained in:
parent
38bd1cf7e1
commit
abfe418ba3
@ -10,8 +10,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* this probably works for Mach-O too, but probably not for PE */
|
/* this probably works for Mach-O too, but probably not for PE */
|
||||||
#if (defined(__APPLE__) || defined(__ELF__) || defined(__OpenBSD__)) && \
|
#if (defined(__APPLE__) || defined(__ELF__)) && defined(__GNUC__) && (__GNUC__ >= 3)
|
||||||
defined(__GNUC__) && ((__GNUC__ >= 3) || ((__GNUC__ == 2) && __GNUC_MINOR__ >= 95 ))
|
|
||||||
#define weak __attribute__((weak))
|
#define weak __attribute__((weak))
|
||||||
#else
|
#else
|
||||||
#define weak
|
#define weak
|
||||||
|
Loading…
Reference in New Issue
Block a user