diff options
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 |