From 7c1067b65d359863d9de75a310044783fbeab670 Mon Sep 17 00:00:00 2001 From: oci Date: Fri, 19 Jan 2001 18:44:31 +0000 Subject: Changes to support Green Hills Native x86 compiler. --- tests/Malloc_Test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/Malloc_Test.cpp') 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 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 -- cgit v1.2.1