Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d898de1

Browse files
committed
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.
1 parent 01b2168 commit d898de1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pl/plperl/ppport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ __DATA__
221221
/* Replace: 0 */
222222
#endif
223223

224+
#ifndef PERL_UNUSED_DECL
224225
#ifdef HASATTRIBUTE
225226
#if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER)
226227
#define PERL_UNUSED_DECL
@@ -230,6 +231,7 @@ __DATA__
230231
#else
231232
#define PERL_UNUSED_DECL
232233
#endif
234+
#endif
233235

234236
#ifndef dNOOP
235237
#define NOOP (void)0

0 commit comments

Comments
 (0)