summaryrefslogtreecommitdiff
path: root/ace/OS_String.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-05 04:14:55 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-05 04:14:55 +0000
commitdf319f16b0bcbfba1bff01800f2fe161755dc705 (patch)
tree84b463aaca5df1ff75d15cd9c20374747b5b7a6a /ace/OS_String.h
parentb1079b4c54950611148a671043f612e0f9ea96e3 (diff)
downloadATCD-df319f16b0bcbfba1bff01800f2fe161755dc705.tar.gz
ChangeLogTag:Tue Dec 04 22:12:04 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/OS_String.h')
-rw-r--r--ace/OS_String.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ace/OS_String.h b/ace/OS_String.h
index 04baff54f40..fb3fb4e7849 100644
--- a/ace/OS_String.h
+++ b/ace/OS_String.h
@@ -323,7 +323,6 @@ public:
const char *src,
size_t maxlen);
-#if defined (ACE_HAS_WCHAR)
/// This is a "safe" c string copy function (wchar_t version).
/**
* Unlike strncpy() this function will always add a terminating '\0'
@@ -340,10 +339,9 @@ public:
* Very seldom it's possible that the '\0' padding feature from
* strncpy() is needed.
*/
- static wchar_t *strsncpy (wchar_t *dst,
- const wchar_t *src,
- size_t maxlen);
-#endif /* ACE_HAS_WCHAR */
+ static ACE_WCHAR_T *strsncpy (ACE_WCHAR_T *dst,
+ const ACE_WCHAR_T *src,
+ size_t maxlen);
/// Finds the first occurance of a substring in an array (const char
/// version).