summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-28 08:29:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-28 08:29:35 (GMT)
commitd26dbcc674a5cac3ff627bf6fde8f8423cb15759 (patch)
treef08644fdd361765ac6483ac3eff46d5ebfa2cc27 /generic/tclPkg.c
parent8a493825aa6a54ea7dcbe527b1cbb72cd38d7598 (diff)
downloadtcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.zip
tcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.tar.gz
tcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.tar.bz2
Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index 5b09ddb..07f62a4 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -106,6 +106,7 @@ static const char * PkgRequireCore(Tcl_Interp *interp, const char *name,
*----------------------------------------------------------------------
*/
+#undef Tcl_PkgProvide
int
Tcl_PkgProvide(
Tcl_Interp *interp, /* Interpreter in which package is now
@@ -188,6 +189,7 @@ Tcl_PkgProvideEx(
*----------------------------------------------------------------------
*/
+#undef Tcl_PkgRequire
const char *
Tcl_PkgRequire(
Tcl_Interp *interp, /* Interpreter in which package is now
@@ -670,6 +672,7 @@ PkgRequireCore(
*----------------------------------------------------------------------
*/
+#undef Tcl_PkgPresent
const char *
Tcl_PkgPresent(
Tcl_Interp *interp, /* Interpreter in which package is now