summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-19 07:32:56 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-20 07:53:46 +0000
commit0dbb1585a715e56312e579a5f0e7f82241b38352 (patch)
tree7d159917164aa7ac921935b3fbff5b5d86aec0c7 /XSUB.h
parent78b9063ba31cc2a48b78683b758601c04e4eb340 (diff)
downloadperl-0dbb1585a715e56312e579a5f0e7f82241b38352.tar.gz
Attribute configuration
Message-ID: <20050519173256.GA29039@petdance.com> p4raw-id: //depot/perl@24508
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XSUB.h b/XSUB.h
index 8997778491..b59a95f8ac 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -92,8 +92,8 @@ is a lexical $_ in scope.
# define XS(name) EXPORT_C void name(pTHX_ CV* cv)
#endif
#ifndef XS
-# if defined(HASATTRIBUTE)
-# define XS(name) void name(pTHX_ CV* cv __attribute__((unused)))
+# ifdef HASATTRIBUTE_UNUSED
+# define XS(name) void name(pTHX_ CV* cv __attribute__unused__)
# else
# define XS(name) void name(pTHX_ CV* cv)
# endif