mirror of https://github.com/swig/swig
'#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
|
@ -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…
Reference in New Issue