summaryrefslogtreecommitdiff
path: root/tests/ACE_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ACE_Test.cpp')
-rw-r--r--tests/ACE_Test.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/ACE_Test.cpp b/tests/ACE_Test.cpp
index 525c732c53d..c2f7e2dd079 100644
--- a/tests/ACE_Test.cpp
+++ b/tests/ACE_Test.cpp
@@ -14,9 +14,12 @@
//
// ============================================================================
-#include "ace/ACE.h"
#include "test_config.h"
+#if defined (ACE_WIN32)
+#include "ace/ACE.h"
+#endif /* ACE_WIN32 */
+
ACE_RCSID(tests, ACE_Test, "$Id$")
// Test ACE::execname to be sure it finds .exe without regard to case.
@@ -64,7 +67,7 @@ execname_test (void)
int
-ACE_TMAIN (int, ACE_TCHAR *[])
+run_main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT ("ACE_Test"));