Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Common/MyWindows.h')
-rwxr-xr-xCommon/MyWindows.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Common/MyWindows.h b/Common/MyWindows.h
index 6df08d6f..9cc0394d 100755
--- a/Common/MyWindows.h
+++ b/Common/MyWindows.h
@@ -7,8 +7,18 @@
#include <windows.h>
+#define CHAR_PATH_SEPARATOR '\\'
+#define WCHAR_PATH_SEPARATOR L'\\'
+#define STRING_PATH_SEPARATOR "\\"
+#define WSTRING_PATH_SEPARATOR L"\\"
+
#else
+#define CHAR_PATH_SEPARATOR '/'
+#define WCHAR_PATH_SEPARATOR L'/'
+#define STRING_PATH_SEPARATOR "/"
+#define WSTRING_PATH_SEPARATOR L"/"
+
#include <stddef.h> // for wchar_t
#include <string.h>