diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-18 17:27:41 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-18 17:27:41 +0900 |
| commit | dce0667c0be31a8dbaee3f6ec7e223d11ec9f7dd (patch) | |
| tree | a737910f43f2f4533e205fe19accb05031d3c560 /src/File.h | |
| parent | 58c5dc792887fb53ad7718d09567e7c72ef1fc7a (diff) | |
MinGW32 build: Replace all '\' in path with '/' in util::applyDir()
In MinGW32 build, replace all '\' in path with '/' in
util::applyDir(). Take into account '\' in File::getBasename() and
File::getDirname().
Diffstat (limited to 'src/File.h')
| -rw-r--r-- | src/File.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -119,6 +119,8 @@ public: // directory cannot be retrieved or its length is larger than 2048, // returns ".". static std::string getCurrentDir(); + // Returns possible path separators for the underlining platform. + static const std::string& getPathSeparators(); }; } // namespace aria2 |
