diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-09-08 16:09:39 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-09-08 16:09:39 +0000 |
commit | cf8898b046b57ceb6e13d92197258c135200fa4d (patch) | |
tree | 33cd52bf875a9082d0493f9e742ecb6a0ec0c289 /cpp/src/Ice/DLLMain.cpp | |
parent | Fixed Windows services in Makefile.mak build (diff) | |
download | ice-cf8898b046b57ceb6e13d92197258c135200fa4d.tar.bz2 ice-cf8898b046b57ceb6e13d92197258c135200fa4d.tar.xz ice-cf8898b046b57ceb6e13d92197258c135200fa4d.zip |
Fixed Borland service startup
Diffstat (limited to 'cpp/src/Ice/DLLMain.cpp')
-rwxr-xr-x | cpp/src/Ice/DLLMain.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/DLLMain.cpp b/cpp/src/Ice/DLLMain.cpp index 0ffe13db653..2079402164e 100755 --- a/cpp/src/Ice/DLLMain.cpp +++ b/cpp/src/Ice/DLLMain.cpp @@ -15,12 +15,16 @@ extern "C" { BOOL WINAPI -ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved) +#ifdef __BCPLUSPLUS__ +DllMain(HINSTANCE hDLL, DWORD reason, LPVOID reserved) { +#else +ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved) if(!_CRT_INIT(hDLL, reason, reserved)) { return FALSE; } +#endif if(reason == DLL_PROCESS_ATTACH) { |