Michael G. Schwern [Thu, 24 May 2001 15:40:28 +0000 (16:40 +0100)]
Message-ID: <
20010524154028.B1988@blackrider.blackstar.co.uk>
p4raw-id: //depot/perl@10197
# ifndef pTHX
# define pTHX void
# define pTHX_
-# define dTHX extern int Perl___notused
+# ifdef HASATTRIBUTE
+# define dTHX extern int Perl___notused __attribute__ ((unused))
+# else
+# define dTHX extern int Perl___notused
+# endif
# define WITH_THX(s) s
# endif
# ifndef PERL_GET_INTERP
#endif
#define NOOP (void)0
+#ifdef HASATTRIBUTE
+#define dNOOP extern int Perl___notused __attribute__ ((unused))
+#else
#define dNOOP extern int Perl___notused
+#endif
#ifndef pTHX
# define pTHX void