summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-20 11:40:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-20 11:40:10 (GMT)
commitb033de4acf942697fce4f0e1131192fd61ef6abc (patch)
tree10e1cff358c65cd963e69e2dbde31847287c96f7 /win
parent19ca91ba8231e7c91700d47800fd8d3b5df0c107 (diff)
downloadtcl-b033de4acf942697fce4f0e1131192fd61ef6abc.zip
tcl-b033de4acf942697fce4f0e1131192fd61ef6abc.tar.gz
tcl-b033de4acf942697fce4f0e1131192fd61ef6abc.tar.bz2
[Bug 3605401]: Compiler error with latest mingw-w64 headers.bug_3605401
Diffstat (limited to 'win')
-rw-r--r--win/tclWinDde.c5
-rw-r--r--win/tclWinReg.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index 94b4e4c..ce0b413 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -11,8 +11,9 @@
*/
#undef STATIC_BUILD
-#undef USE_TCL_STUBS
-#define USE_TCL_STUBS
+#ifndef USE_TCL_STUBS
+# define USE_TCL_STUBS
+#endif
#include "tclInt.h"
#include <dde.h>
#include <ddeml.h>
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 6ac5caf..327e4a3 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -13,9 +13,9 @@
*/
#undef STATIC_BUILD
-#undef USE_TCL_STUBS
-#define USE_TCL_STUBS
-
+#ifndef USE_TCL_STUBS
+# define USE_TCL_STUBS
+#endif
#include "tclInt.h"
#ifdef _MSC_VER
# pragma comment (lib, "advapi32.lib")