diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-02-15 15:00:57 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-02-15 15:00:57 +0000 |
commit | eaed6b1dda2bc617c0aa6b06df4a30db43d5e355 (patch) | |
tree | 85e3665f7d37252863d86af3bbeaf70102880ec0 /utils/filename.h | |
parent | b9f58cdf773e2a784dc616b78f54fed81f428d19 (diff) | |
download | netsurf-eaed6b1dda2bc617c0aa6b06df4a30db43d5e355.tar.gz netsurf-eaed6b1dda2bc617c0aa6b06df4a30db43d5e355.tar.bz2 |
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.
Diffstat (limited to 'utils/filename.h')
-rw-r--r-- | utils/filename.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <stdbool.h> -#ifdef riscos +#ifdef __riscos__ #define TEMP_FILENAME_PREFIX "<Wimp$ScrapDir>/WWW/NetSurf/Misc" #else #define TEMP_FILENAME_PREFIX "/tmp/WWW/NetSurf/Misc" |