From 07ce856de82067da7a9e8a2504e037b892ffdd3e Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 29 Jul 2024 10:51:35 +0200 Subject: [PATCH] Add wmain for unicode builds on windows * ACE/tests/Singleton_Restart_Test.cpp: --- ACE/tests/Singleton_Restart_Test.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"));