summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DLLMain.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
committerJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
commitd0994b8115bc70f04b772d21365703a3a106587d (patch)
tree1bb72b16494ab7a14a48035e9bdac02dc82b0585 /cpp/src/Ice/DLLMain.cpp
parentICE-4782 Generate "#pragma once" for include-guards in generated C++ header f... (diff)
downloadice-d0994b8115bc70f04b772d21365703a3a106587d.tar.bz2
ice-d0994b8115bc70f04b772d21365703a3a106587d.tar.xz
ice-d0994b8115bc70f04b772d21365703a3a106587d.zip
Remove BCC support
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;
}