summaryrefslogtreecommitdiff
path: root/ACE/ace/Object_Manager.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-16 08:14:08 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-16 08:14:08 +0200
commite78920b82757e4075d256b302a788891cec69780 (patch)
treea8ac9d04abd8e0822687a7939b2ab496c841f9a5 /ACE/ace/Object_Manager.cpp
parent722d05be5d93c81c8b64063bc8bf9f92639243b7 (diff)
downloadATCD-e78920b82757e4075d256b302a788891cec69780.tar.gz
Introduce new ACE_LACKS_SET_ABORT_BEHAVIOR which is set for Embarcadero/MinGW32
* ACE/ace/Object_Manager.cpp: * ACE/ace/config-win32-borland.h: * ACE/ace/config-win32-mingw.h:
Diffstat (limited to 'ACE/ace/Object_Manager.cpp')
-rw-r--r--ACE/ace/Object_Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Object_Manager.cpp b/ACE/ace/Object_Manager.cpp
index eb8aaf462e7..a079b2d467d 100644
--- a/ACE/ace/Object_Manager.cpp
+++ b/ACE/ace/Object_Manager.cpp
@@ -271,10 +271,10 @@ ACE_Object_Manager::init ()
// And this will catch all unhandled exceptions.
SetUnhandledExceptionFilter (&ACE_UnhandledExceptionFilter);
-#if !defined (__MINGW32__)
+#if !defined (ACE_LACKS_SET_ABORT_BEHAVIOR)
// And this will stop the abort system call from being treated as a crash
_set_abort_behavior( 0, _CALL_REPORTFAULT);
-#endif /* !__MINGW32__ */
+#endif /* !ACE_LACKS_SET_ABORT_BEHAVIOR */
// Note the following fix was derived from that proposed by Jochen Kalmbach
// http://blog.kalmbachnet.de/?postid=75