summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-07-09 19:02:42 (GMT)
committerstanton <stanton>1998-07-09 19:02:42 (GMT)
commitb94c5efc08f58e4f0d76566624ab649b40681f82 (patch)
treed9ea6c2e1e5dd7b43076bfc50bdd1f5a932d438b /win/tclWin32Dll.c
parentaa1335bf624cbceccff1a0b7b7d3e890c1eef255 (diff)
downloadtcl-b94c5efc08f58e4f0d76566624ab649b40681f82.zip
tcl-b94c5efc08f58e4f0d76566624ab649b40681f82.tar.gz
tcl-b94c5efc08f58e4f0d76566624ab649b40681f82.tar.bz2
added STATIC_BUILD test around DllMain, etc.
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r--win/tclWin32Dll.c7
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__ */
/*
*----------------------------------------------------------------------