From: John Mark Bell Date: Tue, 8 Sep 2009 10:06:33 +0000 (-0000) Subject: Fix colour component macros on RISC OS. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f6324470193a321f618516d9d783720ab548f1c0;p=libsvgtiny.git Fix colour component macros on RISC OS. svn path=/trunk/libsvgtiny/; revision=9558 --- 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)