summaryrefslogtreecommitdiff
path: root/ACE/tests/MM_Shared_Memory_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/MM_Shared_Memory_Test.cpp')
-rw-r--r--ACE/tests/MM_Shared_Memory_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/MM_Shared_Memory_Test.cpp b/ACE/tests/MM_Shared_Memory_Test.cpp
index c320d8a6a96..1dcb13c65cb 100644
--- a/ACE/tests/MM_Shared_Memory_Test.cpp
+++ b/ACE/tests/MM_Shared_Memory_Test.cpp
@@ -194,7 +194,7 @@ run_main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT ("MM_Shared_Memory_Test"));
-#if !defined (ACE_LACKS_MMAP)
+#if !defined (ACE_LACKS_MMAP) && !defined (ACE_DISABLE_MKTEMP)
ACE_TCHAR temp_file[MAXPATHLEN + 1];
// Get the temporary directory,
@@ -219,8 +219,8 @@ run_main (int, ACE_TCHAR *[])
#else /* !ACE_LACKS_MMAP */
ACE_ERROR ((LM_INFO,
- ACE_TEXT ("mmap ")
- ACE_TEXT ("is not supported on this platform\n")));
+ ACE_TEXT ("mmap and mktemp")
+ ACE_TEXT ("are required for this test\n")));
#endif /* !ACE_LACKS_MMAP */
ACE_END_TEST;