diff options
author | escoffon <escoffon> | 1998-07-29 12:38:05 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-07-29 12:38:05 (GMT) |
commit | b7b5119a5c2c2f111a10ed98418fe43ec973a5bc (patch) | |
tree | 4224e84c872ba6091786b3ab3db28091893777a5 /generic/tk.h | |
parent | 568f94b04b7e2f282582eab9ff54447724a80d15 (diff) | |
download | tk-b7b5119a5c2c2f111a10ed98418fe43ec973a5bc.zip tk-b7b5119a5c2c2f111a10ed98418fe43ec973a5bc.tar.gz tk-b7b5119a5c2c2f111a10ed98418fe43ec973a5bc.tar.bz2 |
added support for export/import of DLL symbols. If BUILD_tk is defined,
EXPORT is mapped to DLLEXPORT, otherwise it is DLLIMPORT.
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tk.h b/generic/tk.h index 8099d7c..870e054 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -79,6 +79,11 @@ # include <stddef.h> #endif +#ifdef BUILD_tk +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * Decide whether or not to use input methods. */ @@ -1546,4 +1551,8 @@ EXTERN int Tk_WmCmd _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); #endif /* RESOURCE_INCLUDED */ + +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TK */ |