Permalink
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...
1 parent 82552a9 commit 22570a88de5a23b9f3a8a216f0a19cef783a03c1 Nicholas Clark committed Sep 10, 2011
Showing with 1 addition and 21 deletions.
  1. +1 −1 dist/Storable/Storable.pm
  2. +0 −20 dist/Storable/Storable.xs
@@ -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
@@ -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

0 comments on commit 22570a8

Please sign in to comment.