From 65ba8bdea7cbe493934ebd9624f3b9af70e40033 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 8 May 2009 10:05:07 +0000 Subject: 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 --- src/utils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils.h') 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); -- cgit v1.2.3