diff options
author | Steve Huston <shuston@riverace.com> | 2004-08-24 18:13:30 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2004-08-24 18:13:30 +0000 |
commit | 3247a302d927826921e229befe5e45478f9a77c9 (patch) | |
tree | 792203d9e7ca8eebde11ab9cbf235e0b92f6cef7 /tests/test_config.h | |
parent | 4611f21e7dd6b909afb39ca03791d5c2c2c1d253 (diff) | |
download | ATCD-3247a302d927826921e229befe5e45478f9a77c9.tar.gz |
ChangeLogTag:Tue Aug 24 14:07:22 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests/test_config.h')
-rw-r--r-- | tests/test_config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_config.h b/tests/test_config.h index f8e0c38ed85..74e6934f5da 100644 --- a/tests/test_config.h +++ b/tests/test_config.h @@ -120,9 +120,14 @@ const size_t ACE_MAX_THREADS = 4; # define ACE_MAIN ace_main #endif /* ghs */ #else /* ! VXWORKS */ +# if !defined (ACE_WIN32) && defined (ACE_USES_WCHAR) +# define ACE_INIT_LOG_FMT ACE_TEXT ("%ls%ls%ls") +# else +# define ACE_INIT_LOG_FMT ACE_TEXT ("%s%s%s") +# endif /* !ACE_WIN32 && ACE_USES_WCHAR */ #define ACE_INIT_LOG(NAME) \ ACE_TCHAR temp[MAXPATHLEN]; \ - ACE_OS::sprintf (temp, ACE_TEXT ("%s%s%s"), \ + ACE_OS::sprintf (temp, ACE_INIT_LOG_FMT, \ ACE_LOG_DIRECTORY, \ ACE::basename (NAME, ACE_DIRECTORY_SEPARATOR_CHAR), \ ACE_LOG_FILE_EXT_NAME); \ |