diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-09-10 13:28:19 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-09-13 11:28:10 +0200 |
commit | ec1c82dff1a02837730cd85ca14c9f97f74eb3cf (patch) | |
tree | e114cb5f021f4ce5bccf0b2c29b494e59911bc3c /ext/POSIX | |
parent | 29d1ad9ef83e61aeb4d5d3245ea8c32e98a3752a (diff) | |
download | perl-ec1c82dff1a02837730cd85ca14c9f97f74eb3cf.tar.gz |
Remove unneeded fallback definitions of dNOOP, dVAR etc from POSIX.xs
As POSIX.xs is not dual life, we can always rely on these macros being
defined for us in perl.h. (And these days, dual life XS code should let
Devel::PPPort take care of this sort of thing.)
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 175b242970..392f35f56d 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -82,26 +82,6 @@ char *tzname[] = { "" , "" }; #endif #endif -#ifndef PERL_UNUSED_DECL -# ifdef HASATTRIBUTE -# if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) -# define PERL_UNUSED_DECL -# else -# define PERL_UNUSED_DECL __attribute__((unused)) -# endif -# else -# define PERL_UNUSED_DECL -# endif -#endif - -#ifndef dNOOP -#define dNOOP extern int Perl___notused PERL_UNUSED_DECL -#endif - -#ifndef dVAR -#define dVAR dNOOP -#endif - #if defined(__VMS) && !defined(__POSIX_SOURCE) # include <libdef.h> /* LIB$_INVARG constant */ # include <lib$routines.h> /* prototype for lib$ediv() */ |