Skip to content
Snippets Groups Projects
Commit d898de1f authored by Tom Lane's avatar Tom Lane
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment