]> cvs.zerfleddert.de Git - micropolis/commitdiff
src/tclx/ucbsrc/tclbasic.sed: Micropolis build fixes for recent macOS
authorRyan Schmidt <ryandesign@macports.org>
Wed, 18 May 2022 10:53:08 +0000 (05:53 -0500)
committerMichael Gernoth <michael@gernoth.net>
Sat, 4 Jun 2022 09:20:19 +0000 (11:20 +0200)
Fix:
tclbasic.c:711:18: error: implicit declaration of function 'Tcl_CheckForSignal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        result = Tcl_CheckForSignal (interp, result);
                 ^

src/tclx/ucbsrc/tclbasic.sed

index c22bb1cda7abf5f322935fcaa7f56e16d91483b4..95976199bd4580d91b8c9866a5cf4a0ca52fe26f 100644 (file)
@@ -1,3 +1,6 @@
+/#include "tclint.h"/a\
+\#include "tclxtend.h"
+
 /(\*cmdPtr->proc)/a\
 \        /*\
 \         * Signal handling added for Extended Tcl.\
Impressum, Datenschutz