summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-09-10 13:43:57 +0200
committerNicholas Clark <nick@ccl4.org>2011-09-14 11:49:37 +0200
commit22570a88de5a23b9f3a8a216f0a19cef783a03c1 (patch)
tree268bcbf06a41c5c45b439c1a15c3f64b18993607 /dist
parent82552a9540a0bcb64cc40ce79ac31db19a151182 (diff)
downloadperl-22570a88de5a23b9f3a8a216f0a19cef783a03c1.tar.gz
Remove Symbian compatibility macros from Storable, now supplied by ppport.h
ppport.h provides default definitions for PERL_UNUSED_DECL, dNOOP and dVAR, so no need to duplicate this in Storable.xs
Diffstat (limited to 'dist')
-rw-r--r--dist/Storable/Storable.pm2
-rw-r--r--dist/Storable/Storable.xs20
2 files changed, 1 insertions, 21 deletions
diff --git a/dist/Storable/Storable.pm b/dist/Storable/Storable.pm
index 95fe93ce0f..76d54860b7 100644
--- a/dist/Storable/Storable.pm
+++ b/dist/Storable/Storable.pm
@@ -21,7 +21,7 @@ package Storable; @ISA = qw(Exporter);
use vars qw($canonical $forgive_me $VERSION);
-$VERSION = '2.31';
+$VERSION = '2.32';
BEGIN {
if (eval { local $SIG{__DIE__}; require Log::Agent; 1 }) {
diff --git a/dist/Storable/Storable.xs b/dist/Storable/Storable.xs
index 8ce0bec923..5d95fe5e22 100644
--- a/dist/Storable/Storable.xs
+++ b/dist/Storable/Storable.xs
@@ -103,26 +103,6 @@ typedef double NV; /* Older perls lack the NV type */
} STMT_END
#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
-
#ifndef HvRITER_set
# define HvRITER_set(hv,r) (HvRITER(hv) = r)
#endif