diff options
-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__ */ /* *---------------------------------------------------------------------- |