]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Fix colour component macros on RISC OS.
authorJohn Mark Bell <jmb@netsurf-browser.org>
Tue, 8 Sep 2009 10:06:33 +0000 (10:06 -0000)
committerJohn Mark Bell <jmb@netsurf-browser.org>
Tue, 8 Sep 2009 10:06:33 +0000 (10:06 -0000)
svn path=/trunk/libsvgtiny/; revision=9558

include/svgtiny.h

index 133086c372ed50c9a2359ed1977be63cb7cc3715..a655d8fcf6e125dac9cefc14a315cc521f9777a7 100644 (file)
@@ -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)