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/tk3d.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/tk3d.h')
-rw-r--r-- | generic/tk3d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tk3d.h b/generic/tk3d.h index cd9ecd5..d1c6f1d 100644 --- a/generic/tk3d.h +++ b/generic/tk3d.h @@ -17,6 +17,11 @@ #include <tkInt.h> +#ifdef BUILD_tk +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * One of the following data structures is allocated for * each 3-D border currently in use. Structures of this @@ -76,4 +81,7 @@ EXTERN void TkpGetShadows _ANSI_ARGS_((TkBorder *borderPtr, Tk_Window tkwin)); EXTERN void TkpFreeBorder _ANSI_ARGS_((TkBorder *borderPtr)); +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TK3D */ |