summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DLLMain.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-08-06 10:24:57 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-08-06 10:24:57 +0200
commite6f5dc2c89eda44fb0a3d444223131a31867a1b2 (patch)
treeb6bddfe0a0cccef45484314f47967d95a01472bb /cpp/src/Ice/DLLMain.cpp
parentmore Java changes & tests (diff)
parentICE-4804 - Properties and case-mismatch (diff)
downloadice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.tar.bz2
ice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.tar.xz
ice-e6f5dc2c89eda44fb0a3d444223131a31867a1b2.zip
Merge remote-tracking branch 'origin/master' into encoding11
Conflicts: cpp/include/Ice/Stream.h cpp/include/Slice/Preprocessor.h rb/ruby/Makefile.mak
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;
}