Commit d898de1f authored by Tom Lane's avatar Tom Lane

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.
parent 01b2168c
...@@ -221,6 +221,7 @@ __DATA__ ...@@ -221,6 +221,7 @@ __DATA__
/* Replace: 0 */ /* Replace: 0 */
#endif #endif
#ifndef PERL_UNUSED_DECL
#ifdef HASATTRIBUTE #ifdef HASATTRIBUTE
#if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) #if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER)
#define PERL_UNUSED_DECL #define PERL_UNUSED_DECL
...@@ -230,6 +231,7 @@ __DATA__ ...@@ -230,6 +231,7 @@ __DATA__
#else #else
#define PERL_UNUSED_DECL #define PERL_UNUSED_DECL
#endif #endif
#endif
#ifndef dNOOP #ifndef dNOOP
#define NOOP (void)0 #define NOOP (void)0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment