summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoye <joye>2013-09-05 19:11:19 (GMT)
committerjoye <joye>2013-09-05 19:11:19 (GMT)
commit92b5891f0085f4c781468737c0fb8bce0e081d8a (patch)
treee3a7a61fa48e1db20cc17ca78450725fe2f18d97
parentc6e0e8f787459f8727b4140a7341dcc5cd6ea1c3 (diff)
downloadblt-92b5891f0085f4c781468737c0fb8bce0e081d8a.zip
blt-92b5891f0085f4c781468737c0fb8bce0e081d8a.tar.gz
blt-92b5891f0085f4c781468737c0fb8bce0e081d8a.tar.bz2
*** empty log message ***
-rw-r--r--src/bltInt.C11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/bltInt.C b/src/bltInt.C
index 616cd3d..ab2ce61 100644
--- a/src/bltInt.C
+++ b/src/bltInt.C
@@ -35,12 +35,6 @@
# define BLT_LIBRARY "unknown"
#endif
-#if (_TCL_VERSION >= _VERSION(8,5,0))
-#define TCL_VERSION_LOADED TCL_PATCH_LEVEL
-#else
-#define TCL_VERSION_LOADED TCL_VERSION
-#endif
-
BLT_EXTERN Tcl_AppInitProc Blt_core_Init;
BLT_EXTERN Tcl_AppInitProc Blt_core_SafeInit;
@@ -140,13 +134,12 @@ int Blt_core_Init(Tcl_Interp *interp) /* Interpreter to add extra commands */
{
Tcl_Namespace *nsPtr;
const char *result;
- const int isExact = 1;
if(
#ifdef USE_TCL_STUBS
- Tcl_InitStubs(interp, TCL_VERSION_LOADED, isExact)
+ Tcl_InitStubs(interp, TCL_PATCH_LEVEL, 0)
#else
- Tcl_PkgRequire(interp, "Tcl", TCL_VERSION_LOADED, isExact)
+ Tcl_PkgRequire(interp, "Tcl", TCL_PATCH_LEVEL, 0)
#endif
== NULL) {
return TCL_ERROR;