summaryrefslogtreecommitdiff
path: root/src/File.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-18 17:27:41 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-18 17:27:41 +0900
commitdce0667c0be31a8dbaee3f6ec7e223d11ec9f7dd (patch)
treea737910f43f2f4533e205fe19accb05031d3c560 /src/File.h
parent58c5dc792887fb53ad7718d09567e7c72ef1fc7a (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/File.h b/src/File.h
index 8e4d0f3f..37b1ba49 100644
--- a/src/File.h
+++ b/src/File.h
@@ -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