summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 10:05:07 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 10:05:07 +0000
commit65ba8bdea7cbe493934ebd9624f3b9af70e40033 (patch)
tree85c031ac0470418216a6c5001b4d808eb69feb0c /src/utils.h
parent4aed351e3376d70cedf1dfbcf4f396cc904e2703 (diff)
downloadttf2f-65ba8bdea7cbe493934ebd9624f3b9af70e40033.tar.gz
ttf2f-65ba8bdea7cbe493934ebd9624f3b9af70e40033.tar.bz2
Slightly more useful behaviour on non-RO platforms.
Fix segv in cli frontend. Make cli frontend create output directory. svn path=/trunk/tools/ttf2f/; revision=7437
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 8837255..de1d067 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -5,6 +5,12 @@
#define UNUSED(x) ((x)=(x))
#endif
+#ifdef __riscos__
+#define DIR_SEP "."
+#else
+#define DIR_SEP "/"
+#endif
+
void ttf2f_poll(int active);
char *strndup(const char *s, size_t n);
long convert_units(long raw, long ppem);