summaryrefslogtreecommitdiffstats
path: root/unix/dltest/pkgooa.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/dltest/pkgooa.c')
-rw-r--r--unix/dltest/pkgooa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/dltest/pkgooa.c b/unix/dltest/pkgooa.c
index 444bb81..d82b5fa 100644
--- a/unix/dltest/pkgooa.c
+++ b/unix/dltest/pkgooa.c
@@ -94,6 +94,7 @@ static TclOOStubs stubsCopy = {
#ifdef Tcl_GetObjectClassName
,NULL
#endif
+#if TCL_MAJOR_VERSION > 8
#ifdef Tcl_MethodIsType2
,NULL
#endif
@@ -103,6 +104,7 @@ static TclOOStubs stubsCopy = {
#ifdef Tcl_NewMethod2
,NULL
#endif
+#endif
};
DLLEXPORT int