summaryrefslogtreecommitdiff
path: root/shared/systemConstants.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:50 +0200
commit4ecfd41e36533d858c98d051ef70cab80e69e972 (patch)
treeca07d8745967d2c6a7123a5d32269cfbfaa7bd6c /shared/systemConstants.h
parent2.2 (diff)
downloadFreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.gz
FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.bz2
FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.zip
2.3
Diffstat (limited to 'shared/systemConstants.h')
-rw-r--r--shared/systemConstants.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/shared/systemConstants.h b/shared/systemConstants.h
new file mode 100644
index 00000000..84c1ae85
--- /dev/null
+++ b/shared/systemConstants.h
@@ -0,0 +1,22 @@
+#ifndef SYSTEMCONSTANTS_H_INCLUDED
+#define SYSTEMCONSTANTS_H_INCLUDED
+
+#include "zstring.h"
+
+
+namespace globalFunctions
+{
+//------------------------------------------------
+// GLOBALS
+//------------------------------------------------
+#ifdef FFS_WIN
+ const DefaultChar FILE_NAME_SEPARATOR = '\\';
+ static const DefaultChar* const LINE_BREAK = L"\r\n"; //internal linkage
+#elif defined FFS_LINUX
+ const DefaultChar FILE_NAME_SEPARATOR = '/';
+ static const DefaultChar* const LINE_BREAK = "\n";
+#endif
+}
+
+
+#endif // SYSTEMCONSTANTS_H_INCLUDED
bgstack15