diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-23 08:05:03 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-23 08:05:03 +0000 |
commit | 31d9a45d1387a00a3c04c231d481e3af9a874ee7 (patch) | |
tree | f0131bd31b083c7c7a26da9fb807c6ed9e689859 /ace/SPIPE_Addr.cpp | |
parent | bad20233663443a04c3a334ea5f1534b2e876bdc (diff) | |
download | ATCD-31d9a45d1387a00a3c04c231d481e3af9a874ee7.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SPIPE_Addr.cpp')
-rw-r--r-- | ace/SPIPE_Addr.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/SPIPE_Addr.cpp b/ace/SPIPE_Addr.cpp index 688735e27db..c68495de3b1 100644 --- a/ace/SPIPE_Addr.cpp +++ b/ace/SPIPE_Addr.cpp @@ -38,11 +38,19 @@ ACE_SPIPE_Addr::ACE_SPIPE_Addr (void) // Transform the string into the current addressing format. +#if defined (UNICODE) int -ACE_SPIPE_Addr::string_to_addr (LPCTSTR addr) +ACE_SPIPE_Addr::string_to_addr (const wchar_t *addr) { return this->set (addr); } +#endif /* UNICODE */ + +int +ACE_SPIPE_Addr::string_to_addr (const char *addr) +{ + return this->set (ACE_WIDE_STRING (addr)); +} /* Copy constructor. */ |