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
|
||||
|
||||
/* this probably works for Mach-O too, but probably not for PE */
|
||||
#if (defined(__APPLE__) || defined(__ELF__) || defined(__OpenBSD__)) && \
|
||||
defined(__GNUC__) && ((__GNUC__ >= 3) || ((__GNUC__ == 2) && __GNUC_MINOR__ >= 95 ))
|
||||
#if (defined(__APPLE__) || defined(__ELF__)) && defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
#define weak __attribute__((weak))
|
||||
#else
|
||||
#define weak
|
||||
|
Loading…
Reference in New Issue
Block a user