diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-02 07:40:06 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-02 07:40:06 +0000 |
commit | 452556bd982ce6bf30d3b6e67ca2efb006954f46 (patch) | |
tree | 4fba776472f0a6810464aaad89c6856fe2dbd625 /perl.h | |
parent | 23f6d120c5cb627da2de901261af9eec365eca16 (diff) | |
parent | 95f363667835e95a52a0dfcf729978805271e247 (diff) | |
download | perl-452556bd982ce6bf30d3b6e67ca2efb006954f46.tar.gz |
Integrate mainline
p4raw-id: //depot/perlio@15673
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -131,7 +131,11 @@ struct perl_thread; #endif #ifdef HASATTRIBUTE -# define PERL_UNUSED_DECL __attribute__((unused)) +# if defined(__GNUC__) && defined(__cplusplus) +# define PERL_UNUSED_DECL +# else +# define PERL_UNUSED_DECL __attribute__((unused)) +# endif #else # define PERL_UNUSED_DECL #endif |