summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-05 14:02:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-05 14:02:59 (GMT)
commite27613d051d663dca9388efda64d8cdf2263ba1d (patch)
treea9d3566899cc6e2228c760a7a37ff5e8a6bb4d2d
parent81273c08299cbf6136ed00929ef536381e044d91 (diff)
downloadtcl-e27613d051d663dca9388efda64d8cdf2263ba1d.zip
tcl-e27613d051d663dca9388efda64d8cdf2263ba1d.tar.gz
tcl-e27613d051d663dca9388efda64d8cdf2263ba1d.tar.bz2
Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are redefined as macros.
-rw-r--r--generic/tclResult.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index 014ea1b..2f2563a 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -1112,6 +1112,7 @@ Tcl_SetObjErrorCode(
*----------------------------------------------------------------------
*/
+#undef Tcl_GetErrorLine
int
Tcl_GetErrorLine(
Tcl_Interp *interp)
@@ -1129,6 +1130,7 @@ Tcl_GetErrorLine(
*----------------------------------------------------------------------
*/
+#undef Tcl_SetErrorLine
void
Tcl_SetErrorLine(
Tcl_Interp *interp,