summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 14:57:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 14:57:35 (GMT)
commita41149258a75935ea1748f2fb603beb84e317ae8 (patch)
tree1aa43e2afdd1e3d9bc8ac9f38ce97c230b1aa75b /win
parentcd61c32b31ae37eb3203ed3987397d02013ebab9 (diff)
downloadtcl-a41149258a75935ea1748f2fb603beb84e317ae8.zip
tcl-a41149258a75935ea1748f2fb603beb84e317ae8.tar.gz
tcl-a41149258a75935ea1748f2fb603beb84e317ae8.tar.bz2
Oops, wrong check
Diffstat (limited to 'win')
-rw-r--r--win/tclWinDde.c2
-rw-r--r--win/tclWinReg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index 8c76cdb..44cbbbe 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -119,7 +119,7 @@ static int DdeObjCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);
-#if (TCL_MAJOR_VERSION < 9) && (TCL_MAJOR_VERSION < 7)
+#if (TCL_MAJOR_VERSION < 9) && (TCL_MINOR_VERSION < 7)
# define Tcl_WCharToUtfDString Tcl_UniCharToUtfDString
# define Tcl_UtfToWCharDString Tcl_UtfToUniCharDString
#endif
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index e73707e..73208b9 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -126,7 +126,7 @@ static int SetValue(Tcl_Interp *interp, Tcl_Obj *keyNameObj,
Tcl_Obj *valueNameObj, Tcl_Obj *dataObj,
Tcl_Obj *typeObj, REGSAM mode);
-#if (TCL_MAJOR_VERSION < 9) && (TCL_MAJOR_VERSION < 7)
+#if (TCL_MAJOR_VERSION < 9) && (TCL_MINOR_VERSION < 7)
# define Tcl_WCharToUtfDString Tcl_UniCharToUtfDString
# define Tcl_UtfToWCharDString Tcl_UtfToUniCharDString
#endif