diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-26 21:23:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-26 21:23:55 (GMT) |
commit | 9b6113c6b13629e4d525a98f201289c0ed42d143 (patch) | |
tree | d1b30030bb4027fa34c0097f0c788f530d58cea9 /generic/tclInt.h | |
parent | 946598bb9f345a06cb4ae5de31b6049e2e15baed (diff) | |
download | tcl-9b6113c6b13629e4d525a98f201289c0ed42d143.zip tcl-9b6113c6b13629e4d525a98f201289c0ed42d143.tar.gz tcl-9b6113c6b13629e4d525a98f201289c0ed42d143.tar.bz2 |
Better Tcl8 compatibility for tclPlatDecls.h and tclInt.h
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 0c07e97..87f10f0 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -5115,7 +5115,9 @@ typedef struct NRE_callback { #endif #include "tclIntDecls.h" -#include "tclIntPlatDecls.h" +#if TCL_MAJOR_VERSION > 8 +# include "tclIntPlatDecls.h" +#endif #if !defined(USE_TCL_STUBS) && !defined(TCL_MEM_DEBUG) #define Tcl_AttemptAlloc TclpAlloc |