Skip to content

Commit

Permalink
Add wmain for unicode builds on windows
Browse files Browse the repository at this point in the history
    * ACE/tests/Singleton_Restart_Test.cpp:
  • Loading branch information
jwillemsen committed Jul 29, 2024
1 parent e69db0c commit 07ce856
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ACE/tests/Singleton_Restart_Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ void report_error (const ACE_TCHAR *lock)
using Singleton1 = ACE_Singleton<int, ACE_MT_SYNCH::MUTEX>;
using Singleton2 = ACE_Singleton<int, ACE_MT_SYNCH::RECURSIVE_MUTEX>;

# if defined (ACE_WIN32) && defined (ACE_USES_WCHAR)
int wmain ()
#else
int main ()
#endif
{
ACE::init ();
ACE_START_TEST (ACE_TEXT ("Singleton_Restart_Test"));
Expand Down

0 comments on commit 07ce856

Please sign in to comment.