summaryrefslogtreecommitdiff
path: root/ACE/tests/OS_Test.cpp
diff options
context:
space:
mode:
authorErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
committerErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
commit761e24b54d7fda41ed58a6e2f41ba905e43bf3d9 (patch)
tree69171a8ba215e125cf273ab6bbe4641313df6e6a /ACE/tests/OS_Test.cpp
parent3e44fb91cf724aeb48b38169482a4878de316afc (diff)
parent9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (diff)
downloadATCD-761e24b54d7fda41ed58a6e2f41ba905e43bf3d9.tar.gz
Merge branch 'message_queue_ex_get_queue' of https://github.com/esohns/ACE_TAO into message_queue_ex_get_queue
Diffstat (limited to 'ACE/tests/OS_Test.cpp')
-rw-r--r--ACE/tests/OS_Test.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ACE/tests/OS_Test.cpp b/ACE/tests/OS_Test.cpp
index 03666ca0ae2..b9fad773749 100644
--- a/ACE/tests/OS_Test.cpp
+++ b/ACE/tests/OS_Test.cpp
@@ -108,7 +108,7 @@ rename_test ()
}
ACE_OS::fclose (f);
-#if defined (ACE_WIN32) && defined (ACE_LACKS_WIN32_MOVEFILEEX) || defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32) && defined (ACE_LACKS_WIN32_MOVEFILEEX)
// Can't rename if new_file exists already.
ACE_OS::unlink (new_file);
#endif
@@ -603,8 +603,6 @@ snprintf_test (SNPrintF_t fn)
ACE_OS::memset(buf, 0xab, 2*BUFFER_SIZE);
retval = fn (buf, BUFFER_SIZE, "%d", 1234);
- // HP-UX has broken vsnprintf
-#if !defined (HPUX)
if (retval != 4)
{
ACE_ERROR ((LM_ERROR,
@@ -612,7 +610,6 @@ snprintf_test (SNPrintF_t fn)
retval));
++error_count;
}
-#endif /* !HPUX */
if (buf[3] != 0)
{