'#undef seed' macro which Perl API headers define
This macro breaks '#include <algorithm>', causing generated Perl bindings to fail to compile with 'g++ -std=gnu++11'.
This commit is contained in:
parent
50ba1ea6fa
commit
0fad8a3728
1 changed files with 3 additions and 0 deletions
|
|
@ -103,6 +103,9 @@
|
|||
#ifdef stat
|
||||
#undef stat
|
||||
#endif
|
||||
#ifdef seed
|
||||
#undef seed
|
||||
#endif
|
||||
|
||||
#ifdef bool
|
||||
/* Leave if macro is from C99 stdbool.h */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue