summaryrefslogtreecommitdiff
path: root/dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch
blob: 8d29180f08264422385321a5f05c44caf4686428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/tclxml.c	2020-12-24 16:58:20.051675497 +0100
+++ b/tclxml.c	2020-12-24 16:58:49.586185021 +0100
@@ -20,6 +20,10 @@
 #include <tclxslt/tclxslt.h>
 #include <string.h>
 
+#ifdef bool
+#undef bool
+#endif
+
 int Tcldom_libxml2_Init ( Tcl_Interp *interp );
 
 #define TCL_DOES_STUBS \
--- a/tclxslt-libxslt.c	2020-12-24 16:59:07.004895777 +0100
+++ b/tclxslt-libxslt.c	2020-12-24 16:59:46.280243657 +0100
@@ -20,6 +20,10 @@
 #include <libxslt/imports.h>
 #include <libxslt/security.h>
 
+#ifdef bool
+#undef bool
+#endif
+
 #undef TCL_STORAGE_CLASS
 #define TCL_STORAGE_CLASS DLLEXPORT