summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index dbc1038ee7..e50c2ba1ca 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -62,7 +62,13 @@ typedef unsigned short mode_t;
#endif
#define DEFAULT_SLASH '/'
-#define DEFAULT_DIR_SEPARATOR ':'
+
+#ifdef __riscos__
+#define DEFAULT_DIR_SEPARATOR ';'
+#else
+#define DEFAULT_DIR_SEPARATOR ':'
+#endif
+
#define IS_SLASH(c) ((c) == '/')
#endif