Index: src/base/platform/platform-posix.cc |
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc |
index 7e985e3fb70bc68bcc3c16789db9179dac7d298c..bb340ab5f95af47f8c455e91ceeb1c182c8d7434 100644 |
--- a/src/base/platform/platform-posix.cc |
+++ b/src/base/platform/platform-posix.cc |
@@ -429,9 +429,10 @@ bool OS::Remove(const char* path) { |
return (remove(path) == 0); |
} |
+char OS::DirectorySeparator() { return '/'; } |
bool OS::isDirectorySeparator(const char ch) { |
- return ch == '/'; |
+ return ch == DirectorySeparator(); |
} |