Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove Symbian compatibility macros from Storable, now supplied by pp…

…port.h

ppport.h provides default definitions for PERL_UNUSED_DECL, dNOOP and dVAR,
so no need to duplicate this in Storable.xs
  • Loading branch information...
commit 22570a88de5a23b9f3a8a216f0a19cef783a03c1 1 parent 82552a9
Nicholas Clark authored
Showing with 1 addition and 21 deletions.
  1. +1 −1  dist/Storable/Storable.pm
  2. +0 −20 dist/Storable/Storable.xs
View
2  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 }) {
View
20 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
Please sign in to comment.
Something went wrong with that request. Please try again.