diff options
author | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-08 23:00:05 +0000 |
---|---|---|
committer | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-08 23:00:05 +0000 |
commit | d1160e68b1301a8b0e120ba8da56bb2e7d4fb49e (patch) | |
tree | cf04398acb7ad9fb45311eb105d60975028bbc03 /ace/SV_Semaphore_Simple.inl | |
parent | 1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff) | |
download | ATCD-oci_wchar_refactor_post_1_5_1_branch.tar.gz |
Fri May 5 14:33:29 UTC 2006 Ciju John <john_c@ociweb.com>oci_wchar_refactor_post_1_5_1_branch
Diffstat (limited to 'ace/SV_Semaphore_Simple.inl')
-rw-r--r-- | ace/SV_Semaphore_Simple.inl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ace/SV_Semaphore_Simple.inl b/ace/SV_Semaphore_Simple.inl index 5dde75ffff6..81a828b4401 100644 --- a/ace/SV_Semaphore_Simple.inl +++ b/ace/SV_Semaphore_Simple.inl @@ -7,7 +7,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -#if defined (ACE_HAS_WCHAR) // Semaphores don't offer wide-char names, so convert the name and forward // to the narrow-char open(). ACE_INLINE int @@ -18,13 +17,12 @@ ACE_SV_Semaphore_Simple::open (const wchar_t *name, mode_t perms) { ACE_TRACE ("ACE_SV_Semaphore_Simple::open (wchar_t)"); - return this->open (ACE_Wide_To_Ascii (name).char_rep (), + return this->open (ACE_TEXT_TO_CHAR_IN (name), flags, initial_value, nsems, perms); } -#endif /* ACE_HAS_WCHAR */ ACE_INLINE int ACE_SV_Semaphore_Simple::control (int cmd, |