]> git.zerfleddert.de Git - micropolis/commit
src/tk/tkevent.c: 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:59 +0000 (11:20 +0200)
commit753d72ecb98f0d5f0543851fda4d246b4cc97ce9
tree3eb7dd4420a6d0e801f54a75342d72415376ed4c
parent056053a6a9c5d780be96ae4865d01fed5700f90c
src/tk/tkevent.c: Micropolis build fixes for recent macOS

Fix:
tkevent.c:682:3: error: implicit declaration of function 'TkWmProtocolEventProc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                TkWmProtocolEventProc(winPtr, eventPtr);
                ^
tkevent.c:1447:5: error: implicit declaration of function 'Tcl_CheckForSignal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (Tcl_CheckForSignal (tk_mainInterp, TCL_OK) == TCL_ERROR)
    ^
tkevent.c:1512:5: error: implicit declaration of function 'Tcl_CheckForSignal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (Tcl_CheckForSignal (tk_mainInterp, TCL_OK) == TCL_ERROR)
    ^
src/tk/tkevent.c
Impressum, Datenschutz