summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2006-05-30 15:48:30 +0000
committerTom Lane2006-05-30 15:48:30 +0000
commit21d6699707d6ce414943f99833e07f7122966f0c (patch)
treec5ec092f653c97addb549edee9093acd754d0f67
parent4a3b50c59c800e101faeebf219c177dbe315d14c (diff)
Update ppport.h to not cause warnings with newest Perl versions.
This is just the minimal necessary change; we might want to adopt later PPPort output instead.
-rw-r--r--src/pl/plperl/ppport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pl/plperl/ppport.h b/src/pl/plperl/ppport.h
index e89ab4fc06..8c51dbbd53 100644
--- a/src/pl/plperl/ppport.h
+++ b/src/pl/plperl/ppport.h
@@ -221,6 +221,7 @@ __DATA__
/* Replace: 0 */
#endif
+#ifndef PERL_UNUSED_DECL
#ifdef HASATTRIBUTE
#if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER)
#define PERL_UNUSED_DECL
@@ -230,6 +231,7 @@ __DATA__
#else
#define PERL_UNUSED_DECL
#endif
+#endif
#ifndef dNOOP
#define NOOP (void)0