From 0fad8a3728fc6586671444efc066a79a606f008d Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Sat, 2 May 2015 00:06:58 +1200 Subject: [PATCH] '#undef seed' macro which Perl API headers define This macro breaks '#include ', causing generated Perl bindings to fail to compile with 'g++ -std=gnu++11'. --- Lib/perl5/noembed.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/perl5/noembed.h b/Lib/perl5/noembed.h index 936d50ba6..4e30f1117 100644 --- a/Lib/perl5/noembed.h +++ b/Lib/perl5/noembed.h @@ -103,6 +103,9 @@ #ifdef stat #undef stat #endif +#ifdef seed + #undef seed +#endif #ifdef bool /* Leave if macro is from C99 stdbool.h */