summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-09-08 10:06:33 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-09-08 10:06:33 (GMT)
commitf6324470193a321f618516d9d783720ab548f1c0 (patch)
tree27857bdba8ff10443e634d9c586ee6782399db12
parent2235d513b23c2330ff42959b16d8c260cebecf07 (diff)
downloadlibsvgtiny-f6324470193a321f618516d9d783720ab548f1c0.tar.gz
libsvgtiny-f6324470193a321f618516d9d783720ab548f1c0.tar.bz2
Fix colour component macros on RISC OS.
svn path=/trunk/libsvgtiny/; revision=9558
-rw-r--r--include/svgtiny.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svgtiny.h b/include/svgtiny.h
index 133086c..a655d8f 100644
--- a/include/svgtiny.h
+++ b/include/svgtiny.h
@@ -12,7 +12,7 @@
typedef int svgtiny_colour;
#define svgtiny_TRANSPARENT 0x1000000
-#ifdef riscos
+#ifdef __riscos__
#define svgtiny_RGB(r, g, b) ((b) << 16 | (g) << 8 | (r))
#define svgtiny_RED(c) ((c) & 0xff)
#define svgtiny_GREEN(c) (((c) >> 8) & 0xff)