summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 0e72161..a5e98c0 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -94,7 +94,7 @@
# define TKFLEXARRAY 1
#endif
-#ifndef Tcl_GetParent
+#if !defined(Tcl_GetParent) && (TCL_MAJOR_VERSION < 9) && (TCL_MINOR_VERSION < 7)
# define Tcl_GetParent Tcl_GetMaster
#endif