From 4de0b054a58bfee6974afabd831538dcedc23e22 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Thu, 13 Oct 2022 13:38:07 +0100 Subject: Improve portability to RISC OS. --- test/example.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/example.c') diff --git a/test/example.c b/test/example.c index c3521dd..e9cb806 100644 --- a/test/example.c +++ b/test/example.c @@ -13,8 +13,10 @@ # include #endif -#if defined(VMS) || defined(RISCOS) +#if defined(VMS) # define TESTFILE "foo-gz" +#elif defined(__riscos) && !defined(__TARGET_UNIXLIB__) +# define TESTFILE "foo/gz" #else # define TESTFILE "foo.gz" #endif -- cgit v1.2.3-55-g6feb