1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/editors/e93/files/patch-includes.h
Pietro Cerutti 153dd8a22f - Fix build with Tcl 8.6
Reported by:	miwi (Tcl/Tk 86 exp-run latecomers)
Approved by:	portmgr
2013-05-22 08:03:52 +00:00

13 lines
358 B
C

--- includes.h.orig 2013-05-22 09:36:16.000000000 +0200
+++ includes.h 2013-05-22 09:42:02.000000000 +0200
@@ -29,6 +29,9 @@
#include <locale.h>
#include <tcl.h>
+#if (TCL_MAJOR_VERSION < 8) || (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)
+#define Tcl_GetErrorLine(interp) (interp->errorLine)
+#endif
#include "defines.h"
#include "guidefs.h"