diff options
author | Steve Huston <shuston@riverace.com> | 2002-12-13 23:29:14 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-12-13 23:29:14 +0000 |
commit | 9faf03b790b79da7a74e4f41c02d3eecab305acd (patch) | |
tree | ded53ff3b4a18b934f933c25490304fd2b22ad8a /ace/OS.cpp | |
parent | e03045669f9bc46743a465042c8a561f2e94aa97 (diff) | |
download | ATCD-9faf03b790b79da7a74e4f41c02d3eecab305acd.tar.gz |
ChangeLogTag:Fri Dec 13 18:10:31 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 0da00b1ef60..40291b5a335 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -1012,7 +1012,7 @@ ACE_OS::sprintf (wchar_t *buf, const wchar_t *format, ...) { ACE_OS_TRACE ("ACE_OS::sprintf"); -# if defined (ACE_HAS_XPG4_MULTIBYTE_CHAR) +# if defined (_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) // The XPG4/UNIX98/C99 signature of the wide-char sprintf has a // maxlen argument. Since this method doesn't supply one, pass in @@ -1083,7 +1083,7 @@ int ACE_OS::snprintf (wchar_t *buf, size_t maxlen, const wchar_t *format, ...) { // ACE_OS_TRACE ("ACE_OS::snprintf"); -#if defined (ACE_HAS_XPG4_MULTIBYTE_CHAR) || defined (ACE_WIN32) +#if (defined (_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)) || defined (ACE_WIN32) int result; va_list ap; va_start (ap, format); |