From 4247c9e2c2612394a5f4d63a65ba538f975906d4 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 10 Nov 2009 05:30:26 +0100 Subject: Fixed 3962 - Berkeley DB, problems with unicode paths. --- cpp/src/IceUtil/OutputUtil.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cpp/src/IceUtil/OutputUtil.cpp') 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 +#include #include 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); } -- cgit v1.2.3