diff options
author | escoffon <escoffon> | 1998-07-29 14:16:25 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-07-29 14:16:25 (GMT) |
commit | a8b52f8940574c339a076e077bd761bd136bd8b8 (patch) | |
tree | 2b35c071eab1e69259b1fe498dd517ef45b74e14 /win/tclWinInt.h | |
parent | 7bfb47586c47ee2a2ddb61b30c6998b62fa5757c (diff) | |
download | tcl-a8b52f8940574c339a076e077bd761bd136bd8b8.zip tcl-a8b52f8940574c339a076e077bd761bd136bd8b8.tar.gz tcl-a8b52f8940574c339a076e077bd761bd136bd8b8.tar.bz2 |
- added setting of EXPORT to DLLEXPORT if we are building Tcl.
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r-- | win/tclWinInt.h | 7 |
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 */ |