#3545877 - Don't undefine bool if defined by C99 stdbool.h - problem using Perl 5.16 and later.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-08-05 10:15:08 +00:00
commit 4305a3cef9
2 changed files with 12 additions and 3 deletions

View file

@ -64,9 +64,6 @@
#ifdef eof
#undef eof
#endif
#ifdef bool
#undef bool
#endif
#ifdef close
#undef close
#endif
@ -106,3 +103,11 @@
#ifdef stat
#undef stat
#endif
#ifdef bool
/* Leave if macro is from C99 stdbool.h */
#ifndef __bool_true_false_are_defined
#undef bool
#endif
#endif