diff options
author | Jose <jose@zeroc.com> | 2009-11-10 05:30:26 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-11-10 05:30:26 +0100 |
commit | 4247c9e2c2612394a5f4d63a65ba538f975906d4 (patch) | |
tree | 96d3308681d9b0684ce5dd763f5a5d415eaf09d7 /cpp/src/IceUtil/OutputUtil.cpp | |
parent | Win32 64 bits compilation error (diff) | |
download | ice-4247c9e2c2612394a5f4d63a65ba538f975906d4.tar.bz2 ice-4247c9e2c2612394a5f4d63a65ba538f975906d4.tar.xz ice-4247c9e2c2612394a5f4d63a65ba538f975906d4.zip |
Fixed 3962 - Berkeley DB, problems with unicode paths.
Diffstat (limited to 'cpp/src/IceUtil/OutputUtil.cpp')
-rw-r--r-- | cpp/src/IceUtil/OutputUtil.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/IceUtil/OutputUtil.cpp b/cpp/src/IceUtil/OutputUtil.cpp index 5a398c84ce6..a3bef50d681 100644 --- a/cpp/src/IceUtil/OutputUtil.cpp +++ b/cpp/src/IceUtil/OutputUtil.cpp @@ -8,6 +8,7 @@ // ********************************************************************** #include <IceUtil/OutputUtil.h> +#include <IceUtil/FileUtil.h> #include <cstring> using namespace std; @@ -94,11 +95,7 @@ IceUtilInternal::OutputBase::open(const char* s) // Remove any existing file first. This prevents file name // mismatches on case-insensitive OSs. // -#ifdef _WIN32 - _unlink(s); -#else - unlink(s); -#endif + IceUtilInternal::unlink(s); _fout.open(s); } |