diff options
Diffstat (limited to 'shared/systemConstants.h')
-rw-r--r-- | shared/systemConstants.h | 22 |
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 |