diff options
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r-- | ace/Synch.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp index b9987fb97a7..1389d523d6b 100644 --- a/ace/Synch.cpp +++ b/ace/Synch.cpp @@ -356,15 +356,29 @@ ACE_Manual_Event::dump (void) const ACE_Auto_Event::ACE_Auto_Event (int initial_state, int type, - const ACE_TCHAR *name, + const char *name, void *arg) : ACE_Event (0, initial_state, type, - name, + ACE_TEXT_CHAR_TO_TCHAR (name), + arg) +{ +} + +#if defined (ACE_HAS_WCHAR) +ACE_Auto_Event::ACE_Auto_Event (int initial_state, + int type, + const wchar_t *name, + void *arg) + : ACE_Event (0, + initial_state, + type, + ACE_TEXT_WCHAR_TO_TCHAR (name), arg) { } +#endif /* ACE_HAS_WCHAR */ void ACE_Auto_Event::dump (void) const |