diff options
Diffstat (limited to 'tk/mac/tkMacInt.h')
-rw-r--r-- | tk/mac/tkMacInt.h | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/tk/mac/tkMacInt.h b/tk/mac/tkMacInt.h index ab664787a72..5d8eedd0c9b 100644 --- a/tk/mac/tkMacInt.h +++ b/tk/mac/tkMacInt.h @@ -14,9 +14,21 @@ #ifndef _TKMACINT #define _TKMACINT +#ifndef _TKINT #include "tkInt.h" +#endif + +/* + * Include platform specific public interfaces. + */ +#ifndef _TKMAC #include "tkMac.h" +#endif + +#ifndef _TKPORT +#include "tkPort.h" +#endif #include <AppleEvents.h> #include <Windows.h> @@ -73,7 +85,7 @@ typedef struct TkMacWindowList { * embedding where Tk does not control the top-level. It contains * various functions that are needed by Mac specific routines, like * TkMacGetDrawablePort. The definitions of the function types - * are in tclMac.h. + * are in tkMac.h. */ typedef struct { @@ -206,9 +218,16 @@ typedef TkMenuDefProcPtr TkMenuDefUPP; #include "tkIntPlatDecls.h" -/* FIXME - This has to go in the tkInt.decls!!! */ +#ifdef BUILD_tk +#undef TCL_STORAGE_CLASS +#define TCL_STORAGE_CLASS DLLEXPORT +#endif + +/* + * mac specific procedures exported from the DLL + */ -int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window)); +#undef TCL_STORAGE_CLASS +#define TCL_STORAGE_CLASS DLLIMPORT #endif /* _TKMACINT */ - |