summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkMenu.h')
-rw-r--r--generic/tkMenu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkMenu.h b/generic/tkMenu.h
index 6f30d72..9cc207c 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -26,6 +26,11 @@
#include "default.h"
#endif
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* Dummy types used by the platform menu code.
*/
@@ -537,5 +542,8 @@ EXTERN int TkpPostMenu _ANSI_ARGS_((Tcl_Interp *interp,
EXTERN void TkpSetWindowMenuBar _ANSI_ARGS_((Tk_Window tkwin,
TkMenu *menuPtr));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKMENU */