A local change that can go now that vax is gcc 3 and ELF

This commit is contained in:
matthieu 2013-08-18 10:58:04 +00:00
parent 38bd1cf7e1
commit abfe418ba3

View File

@ -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