summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index dba6f68..d8bf510 100644
--- a/generic/tkScale.h
+++ b/generic/tkScale.h
@@ -19,6 +19,11 @@
#include "tk.h"
#endif
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* A data structure of the following type is kept for each scale
* widget managed by this file:
@@ -222,4 +227,7 @@ EXTERN void TkpSetScaleValue _ANSI_ARGS_((TkScale *scalePtr,
EXTERN int TkpValueToPixel _ANSI_ARGS_((TkScale *scalePtr,
double value));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKSCALE */