From eaed6b1dda2bc617c0aa6b06df4a30db43d5e355 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 15 Feb 2016 15:00:57 +0000 Subject: Use compiler environment to control riscos header usage Instead of relying on building the RISC OS frontend to determine correct include compatability use the compiler __riscos__ macro. --- utils/filename.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/filename.h') diff --git a/utils/filename.h b/utils/filename.h index 709cb541a..bac0e6d43 100644 --- a/utils/filename.h +++ b/utils/filename.h @@ -21,7 +21,7 @@ #include -#ifdef riscos +#ifdef __riscos__ #define TEMP_FILENAME_PREFIX "/WWW/NetSurf/Misc" #else #define TEMP_FILENAME_PREFIX "/tmp/WWW/NetSurf/Misc" -- cgit v1.2.3