summaryrefslogtreecommitdiff
path: root/tests/Malloc_Test.cpp
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-19 18:44:31 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-19 18:44:31 +0000
commit7c1067b65d359863d9de75a310044783fbeab670 (patch)
tree6838d0c398ec540d801b93687531180660a729c2 /tests/Malloc_Test.cpp
parentb7e9476f2e3f09bde1a4858e933ce4716decc70f (diff)
downloadATCD-7c1067b65d359863d9de75a310044783fbeab670.tar.gz
Changes to support Green Hills Native x86 compiler.
Diffstat (limited to 'tests/Malloc_Test.cpp')
-rw-r--r--tests/Malloc_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp
index 3e1b214bb18..9f39f51652b 100644
--- a/tests/Malloc_Test.cpp
+++ b/tests/Malloc_Test.cpp
@@ -37,12 +37,12 @@ typedef ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex> MALLOC;
#define MMAP_FILENAME ACE_TEXT ("test_file")
#define MUTEX_NAME ACE_TEXT ("test_lock")
-#if !defined (linux)
+#if !defined (linux) && !(defined (ACE_WIN32) && defined (ghs))
#define ACE_TEST_REMAP_ON_FAULT
-// Linux seems to have problem when calling mmap from the signal
-// handler. On this plarform, we make sure the remapping will never
-// occur.
-#endif /* linux */
+// Linux seems to have problem when calling mmap from the signal handler.
+// The Green Hills Native x86 compiler does not support structural exceptions.
+// On these plarforms, we make sure the remapping will never occur.
+#endif /* linux && Win32 GHS*/
#if defined (ACE_WIN32)
// When looking for the file to execute a process on Win32, the directory from