Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).

This commit is contained in:
zhanyong.wan
2009-06-19 17:23:54 +00:00
parent ae3247986b
commit 4853a50337
11 changed files with 70 additions and 20 deletions
+3
View File
@@ -61,6 +61,9 @@ namespace internal {
namespace {
#ifdef _WIN32_WCE
// TODO(wan@google.com): Move these to the POSIX adapter section in
// gtest-port.h.
// Windows CE doesn't have the remove C function.
int remove(const char* path) {
LPCWSTR wpath = String::AnsiToUtf16(path);