summaryrefslogtreecommitdiff
path: root/ace/Synch.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-03 21:48:59 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-03 21:48:59 +0000
commitba240e17b588f46528228ae1958af358592590e5 (patch)
treee4c66900f1d29bf7b66b040f2293f80bd6f72d3f /ace/Synch.cpp
parent0253f8e11efe550a337f3ec2fec1e58dc12feae4 (diff)
downloadATCD-ba240e17b588f46528228ae1958af358592590e5.tar.gz
ChangeLogTag:Tue Oct 3 14:25:09 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r--ace/Synch.cpp18
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