diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-08-18 10:58:05 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-08-18 10:58:05 +0000 |
commit | 46920c89c4686d7117528125043eb57390165de4 (patch) | |
tree | 99e190cf806619a6d90d6d6a9b994d98e511fffc /lib/libXfont | |
parent | fb46135c8a187837ba4ae6ac4fc35a3a7e2f1715 (diff) |
A local change that can go now that vax is gcc 3 and ELF
Diffstat (limited to 'lib/libXfont')
-rw-r--r-- | lib/libXfont/src/stubs/stubs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libXfont/src/stubs/stubs.h b/lib/libXfont/src/stubs/stubs.h index ec933351b..fa634e97a 100644 --- a/lib/libXfont/src/stubs/stubs.h +++ b/lib/libXfont/src/stubs/stubs.h @@ -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 |