Fix build with Perl 5.20.

PR:		194865
Submitted by:	 Mike Kuznetsov
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-02-17 16:41:30 +00:00
parent 9578393493
commit 1365eb3f3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379180

View File

@ -0,0 +1,13 @@
--- SAML_wrap.c.orig 2014-11-06 12:22:29 UTC
+++ SAML_wrap.c
@@ -1442,7 +1442,9 @@ SWIG_Perl_SetModule(swig_module_info *mo
#undef eof
#endif
#ifdef bool
- #undef bool
+ #ifndef __bool_true_false_are_defined
+ #undef bool
+ #endif
#endif
#ifdef close
#undef close