Thanks Peter Koch
* bugfix #697: Double free with ldns-dane create
Thanks Carsten Strotmann
+ * bugfix #623: Do not redefine bool type and boolean values
+ Thanks Jakob Petsovits
1.6.17 2014-01-10
* Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a
*/
/*@ignore@*/
/* splint barfs on this construct */
-#ifdef HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-# ifndef HAVE__BOOL
-# ifdef __cplusplus
+#ifndef __bool_true_false_are_defined
+# ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+# else
+# ifndef HAVE__BOOL
+# ifdef __cplusplus
typedef bool _Bool;
-# else
-# define _Bool signed char
+# else
+# define _Bool signed char
+# endif
# endif
+# define bool _Bool
+# define false 0
+# define true 1
+# define __bool_true_false_are_defined 1
# endif
-# define bool _Bool
-# define false 0
-# define true 1
-# define __bool_true_false_are_defined 1
#endif
/*@end@*/