diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-25 19:59:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-25 19:59:00 (GMT) |
commit | d3539f9c972519af19dc91bc022b2ae293341614 (patch) | |
tree | 29d84d63d47d42a558fe290198a0960a11731bd7 /macosx/tkMacOSXNotify.c | |
parent | 076287b193ce6c0a24cde6b5888e355468c2e2ac (diff) | |
download | tk-d3539f9c972519af19dc91bc022b2ae293341614.zip tk-d3539f9c972519af19dc91bc022b2ae293341614.tar.gz tk-d3539f9c972519af19dc91bc022b2ae293341614.tar.bz2 |
Make Tk 8.6 compile (again) with Tcl 8.7 headers and --disable-shared
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r-- | macosx/tkMacOSXNotify.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c index cbffb55..6834354 100644 --- a/macosx/tkMacOSXNotify.c +++ b/macosx/tkMacOSXNotify.c @@ -36,8 +36,11 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr; #endif #define TclMacOSXNotifierAddRunLoopMode \ (tclIntPlatStubsPtr->tclMacOSXNotifierAddRunLoopMode) /* 19 */ -#else +#elif TCL_MINOR_VERSION < 7 extern void TclMacOSXNotifierAddRunLoopMode(const void *runLoopMode); +#else + extern void Tcl_MacOSXNotifierAddRunLoopMode(const void *runLoopMode); +# define TclMacOSXNotifierAddRunLoopMode Tcl_MacOSXNotifierAddRunLoopMode #endif #import <objc/objc-auto.h> |