diff options
Diffstat (limited to 'generic/tkColor.h')
-rw-r--r-- | generic/tkColor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkColor.h b/generic/tkColor.h index 9653243..bfd0a0c 100644 --- a/generic/tkColor.h +++ b/generic/tkColor.h @@ -17,6 +17,11 @@ #include <tkInt.h> +#ifdef BUILD_tk +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * One of the following data structures is used to keep track of * each color that the color module has allocated from the X display @@ -57,4 +62,7 @@ EXTERN TkColor * TkpGetColor _ANSI_ARGS_((Tk_Window tkwin, EXTERN TkColor * TkpGetColorByValue _ANSI_ARGS_((Tk_Window tkwin, XColor *colorPtr)); +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TKCOLOR */ |