summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DLLMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/DLLMain.cpp')
-rw-r--r--cpp/src/Ice/DLLMain.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/src/Ice/DLLMain.cpp b/cpp/src/Ice/DLLMain.cpp
index f45db86139a..7a67e55e6d6 100644
--- a/cpp/src/Ice/DLLMain.cpp
+++ b/cpp/src/Ice/DLLMain.cpp
@@ -16,10 +16,6 @@ extern "C"
{
BOOL WINAPI
-#ifdef __BCPLUSPLUS__
-DllMain(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
-{
-#else
ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
{
//
@@ -32,7 +28,6 @@ ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
return FALSE;
}
}
-#endif
if(reason == DLL_PROCESS_ATTACH)
{
@@ -43,7 +38,6 @@ ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
Ice::ImplicitContextI::cleanupThread();
}
-#ifndef __BCPLUSPLUS__
//
// During DETACH, we must call _CRT_INIT last.
//
@@ -54,7 +48,6 @@ ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
return FALSE;
}
}
-#endif
return TRUE;
}