summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/FileSystem.h')
-rw-r--r--WebCore/platform/FileSystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/FileSystem.h b/WebCore/platform/FileSystem.h
index ec75a21..e3916cf 100644
--- a/WebCore/platform/FileSystem.h
+++ b/WebCore/platform/FileSystem.h
@@ -138,6 +138,12 @@ enum FileSeekOrigin {
SeekFromEnd
};
+#if OS(WINDOWS)
+static const char PlatformFilePathSeparator = '\\';
+#else
+static const char PlatformFilePathSeparator = '/';
+#endif
+
bool fileExists(const String&);
bool deleteFile(const String&);
bool deleteEmptyDirectory(const String&);