diff options
author | Stas Bekman <stas@stason.org> | 2003-03-06 23:03:39 +1100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-06 05:36:13 +0000 |
commit | 88fdc17263c0ecab1cbcf87b39127c6497fe4a5e (patch) | |
tree | a9f11fd3fe2439e893e1b4e39915bd6feab99281 /plan9 | |
parent | a845a0d454e0f00755bd9ac955d4d658c0af2872 (diff) | |
download | perl-88fdc17263c0ecab1cbcf87b39127c6497fe4a5e.tar.gz |
[patch config_h.SH] redefining __attribute__
Message-ID: <3E669E6B.1060606@stason.org>
p4raw-id: //depot/perl@18833
Diffstat (limited to 'plan9')
-rw-r--r-- | plan9/config.plan9 | 3 | ||||
-rw-r--r-- | plan9/config_h.sample | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9 index fe3c5c75f8..8ff529df2c 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -80,6 +80,9 @@ */ /*#define HASATTRIBUTE /* config-skip */ #ifndef HASATTRIBUTE +#ifdef __attribute__ +#undef __attribute__ +#endif #define __attribute__(_arg_) #endif diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 459a4f34a5..bd04d0f3f1 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -38,6 +38,9 @@ */ /*#define HASATTRIBUTE / **/ #ifndef HASATTRIBUTE +#ifdef __attribute__ +#undef __attribute__ +#endif #define __attribute__(_arg_) #endif |