diff options
author | escoffon <escoffon@noemail.net> | 1998-07-29 14:02:01 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-07-29 14:02:01 (GMT) |
commit | 182a90919b192ec2a4b9168f2bfc46eb651759bb (patch) | |
tree | 58da7bb2166524049f7dc92efb086cb924281026 /win/tclWinPort.h | |
parent | 83da3fc16afeeb6495aa811539628c3d79cb5ea7 (diff) | |
download | tcl-182a90919b192ec2a4b9168f2bfc46eb651759bb.zip tcl-182a90919b192ec2a4b9168f2bfc46eb651759bb.tar.gz tcl-182a90919b192ec2a4b9168f2bfc46eb651759bb.tar.bz2 |
- added setting of EXPORT to DLLEXPORT if we are building Tcl
FossilOrigin-Name: 751e78fa943199a61ec9d5bc6cb12186a2705422
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index bd22180..3beb94e 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -36,6 +36,11 @@ #include <windows.h> #undef WIN32_LEAN_AND_MEAN +#ifdef BUILD_tcl +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * Define EINPROGRESS in terms of WSAEINPROGRESS. */ @@ -394,4 +399,8 @@ EXTERN u_short PASCAL FAR TclWinNToHS _ANSI_ARGS_((u_short ns)); EXTERN int PASCAL FAR TclWinSetSockOpt _ANSI_ARGS_((SOCKET s, int level, int optname, const char FAR * optval, int optlen)); + +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* _TCLWINPORT */ |