summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index ec1b4db..76ffd6f 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -17,6 +17,22 @@
#define N_ELEMENTS(x) (sizeof((x)) / sizeof((x)[0]))
#endif
+#ifndef DIR_SEP
+#ifdef __riscos__
+#define DIR_SEP "."
+#else
+#define DIR_SEP "/"
+#endif
+#endif
+
+#ifndef XXX_EXT
+#ifdef __riscos__
+#define XXX_EXT ""
+#else
+#define XXX_EXT ",ff6"
+#endif
+#endif
+
typedef enum ttf2f_result {
TTF2F_RESULT_OK,
TTF2F_RESULT_NOMEM,