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 /generic/tkFont.h | |
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 'generic/tkFont.h')
-rw-r--r-- | generic/tkFont.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkFont.h b/generic/tkFont.h index 758c329..51d4823 100644 --- a/generic/tkFont.h +++ b/generic/tkFont.h @@ -16,6 +16,11 @@ #ifndef _TKFONT #define _TKFONT +#ifdef BUILD_tk +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * The following structure keeps track of the attributes of a font. It can * be used to keep track of either the desired attributes or the actual @@ -205,4 +210,7 @@ EXTERN void TkpGetFontFamilies _ANSI_ARGS_((Tcl_Interp *interp, EXTERN TkFont * TkpGetNativeFont _ANSI_ARGS_((Tk_Window tkwin, CONST char *name)); +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TKFONT */ |