mirror of
https://github.com/postgres/postgres.git
synced 2025-06-04 00:02:37 -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 */
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user