mirror of
https://github.com/postgres/postgres.git
synced 2025-06-06 00:02:36 -04:00
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.
This commit is contained in:
parent
01b2168c90
commit
d898de1f3b
@ -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__
|
|||||||
#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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user