summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tclWinInt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index a9d7a60..6c7fad2 100644
--- a/win/tclWinInt.h
+++ b/win/tclWinInt.h
@@ -21,6 +21,11 @@
#include "tclPort.h"
#endif
+#ifdef BUILD_tcl
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* Some versions of Borland C have a define for the OSVERSIONINFO for
* Win32s and for NT, but not for Windows 95.
@@ -35,5 +40,7 @@ EXTERN void TclWinInit(HINSTANCE hInst);
EXTERN int TclWinSynchSpawn(void *args, int type, void **trans,
Tcl_Pid *pidPtr);
+#undef EXPORT
+#define EXPORT DLLIMPORT
#endif /* _TCLWININT */