diff options
author | stanton <stanton@noemail.net> | 1998-07-09 19:02:41 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1998-07-09 19:02:41 (GMT) |
commit | 1cd113ce3b5d1298c8414ac0006d07d0428583e9 (patch) | |
tree | d9ea6c2e1e5dd7b43076bfc50bdd1f5a932d438b /win/tclWin32Dll.c | |
parent | e9be3ed7e8a3dc1db6dabf3540fc9f73ab7dd3ac (diff) | |
download | tcl-1cd113ce3b5d1298c8414ac0006d07d0428583e9.zip tcl-1cd113ce3b5d1298c8414ac0006d07d0428583e9.tar.gz tcl-1cd113ce3b5d1298c8414ac0006d07d0428583e9.tar.bz2 |
added STATIC_BUILD test around DllMain, etc.
FossilOrigin-Name: c86ad816b93055d7627d2b782fc2c530b70cbb32
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r-- | win/tclWin32Dll.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 92dae25..de7fce5 100644 --- a/win/tclWin32Dll.c +++ b/win/tclWin32Dll.c @@ -53,6 +53,10 @@ static void UnloadLibraries _ANSI_ARGS_((void)); BOOL APIENTRY DllMain _ANSI_ARGS_((HINSTANCE hInst, DWORD reason, LPVOID reserved)); + +#ifdef __WIN32__ +#ifndef STATIC_BUILD + /* *---------------------------------------------------------------------- @@ -124,6 +128,9 @@ DllMain(hInst, reason, reserved) return TRUE; } + +#endif /* !STATIC_BUILD */ +#endif /* __WIN32__ */ /* *---------------------------------------------------------------------- |