postgres.git / summary / log / commit / refs
commit 627f25bde31b8eb36de0d3adfe22623091ef0d5c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue May 30 15:48:30 2006 +0000
First released in: 8.2.0, 8.1.5
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.
src/pl/plperl/ppport.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pl/plperl/ppport.h b/src/pl/plperl/ppport.h
index e89ab4fc066..8c51dbbd538 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
[parent: e82435a96c09]