diff --git a/ACE/tests/Singleton_Restart_Test.cpp b/ACE/tests/Singleton_Restart_Test.cpp index f18966df0300a..7d5e8a2324505 100644 --- a/ACE/tests/Singleton_Restart_Test.cpp +++ b/ACE/tests/Singleton_Restart_Test.cpp @@ -26,7 +26,11 @@ void report_error (const ACE_TCHAR *lock) using Singleton1 = ACE_Singleton; using Singleton2 = ACE_Singleton; +# if defined (ACE_WIN32) && defined (ACE_USES_WCHAR) +int wmain () +#else int main () +#endif { ACE::init (); ACE_START_TEST (ACE_TEXT ("Singleton_Restart_Test"));