summaryrefslogtreecommitdiffstats
path: root/generic/tkScrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScrollbar.h')
-rw-r--r--generic/tkScrollbar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkScrollbar.h b/generic/tkScrollbar.h
index 48296a2..a524e55 100644
--- a/generic/tkScrollbar.h
+++ b/generic/tkScrollbar.h
@@ -19,6 +19,11 @@
#include "tkInt.h"
#endif
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* A data structure of the following type is kept for each scrollbar
* widget.
@@ -197,4 +202,7 @@ EXTERN void TkpConfigureScrollbar _ANSI_ARGS_((
EXTERN int TkpScrollbarPosition _ANSI_ARGS_((
TkScrollbar *scrollPtr, int x, int y));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKSCROLLBAR */