summaryrefslogtreecommitdiffstats
path: root/generic/tk3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tk3d.h')
-rw-r--r--generic/tk3d.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tk3d.h b/generic/tk3d.h
index cd9ecd5..d1c6f1d 100644
--- a/generic/tk3d.h
+++ b/generic/tk3d.h
@@ -17,6 +17,11 @@
#include <tkInt.h>
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* One of the following data structures is allocated for
* each 3-D border currently in use. Structures of this
@@ -76,4 +81,7 @@ EXTERN void TkpGetShadows _ANSI_ARGS_((TkBorder *borderPtr,
Tk_Window tkwin));
EXTERN void TkpFreeBorder _ANSI_ARGS_((TkBorder *borderPtr));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TK3D */