diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-25 20:40:45 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-25 20:40:45 +0000 |
commit | f7d57b1f5c9d00a7b28a7c6d6f2b73fde0217244 (patch) | |
tree | 0fb8544c5be757fc6ab7ee97f883a52b486adc9c /ace/OS.cpp | |
parent | 063453670e9e0ccc1694c13d252b0d4e612e5d1d (diff) | |
download | ATCD-f7d57b1f5c9d00a7b28a7c6d6f2b73fde0217244.tar.gz |
removed DllMain
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 950dce70faf..c0b18246b0c 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -761,39 +761,6 @@ ACE_OS::ACE_OS (void) // Keeps track of whether we've initialized the WinSock DLL. int ACE_OS::socket_initialized_; -// We need this to initialize the WinSock DLL. - -BOOL WINAPI -DllMain (HINSTANCE, // DLL module handle - DWORD fdwReason, // Reason called - LPVOID) // Reserved -{ - switch (fdwReason) - { - case DLL_PROCESS_ATTACH: - if (ACE_OS::socket_init (ACE_WSOCK_VERSION) != 0) - return FALSE; - break; - - case DLL_PROCESS_DETACH: - if (ACE_OS::socket_fini () != 0) - return FALSE; - break; - - case DLL_THREAD_ATTACH: - case DLL_THREAD_DETACH: - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "Sock.DLL DllMain called with unknown fdwReason = %u\n.", - fdwReason), FALSE); - /* NOTREACHED */ - } - - return TRUE; -} - #endif /* WIN32 */ #if defined (ACE_WIN32) || defined (ACE_HAS_TSS_EMULATION) |