diff options
author | escoffon <escoffon@noemail.net> | 1998-07-29 12:38:04 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-07-29 12:38:04 (GMT) |
commit | e0e2cc257beb15e924a7f7f7e9b638f854d51df2 (patch) | |
tree | 4224e84c872ba6091786b3ab3db28091893777a5 /win | |
parent | 233eec67b5fb176a9af1918a22c311515bcd8500 (diff) | |
download | tk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.zip tk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.tar.gz tk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.tar.bz2 |
added support for export/import of DLL symbols. If BUILD_tk is defined,
EXPORT is mapped to DLLEXPORT, otherwise it is DLLIMPORT.
FossilOrigin-Name: 30f14886c79e35910f341ca8268acf520e57d63b
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/tkWin.h b/win/tkWin.h index c9d9360..d407b61 100644 --- a/win/tkWin.h +++ b/win/tkWin.h @@ -23,6 +23,11 @@ #include <windows.h> #undef WIN32_LEAN_AND_MEAN +#ifdef BUILD_tk +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * The following messages are use to communicate between a Tk toplevel * and its container window. @@ -53,4 +58,7 @@ EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result)); +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TKWIN */ |