summaryrefslogtreecommitdiffstats
path: root/generic/tk.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tk.h')
-rw-r--r--generic/tk.h9
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 */