X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0240e8b1aa935d43689b0b8ec36de3c06c1a4758..1ec46a5b35233f3c69c5b73e4b0b36f44c650633:/src/mac/xpm/xpm.h diff --git a/src/mac/xpm/xpm.h b/src/mac/xpm/xpm.h index 1680f6363a..c64a22776c 100644 --- a/src/mac/xpm/xpm.h +++ b/src/mac/xpm/xpm.h @@ -79,7 +79,7 @@ #define SET_ZERO_PIXEL(a) { (a) = 0 } #define SET_WHITE_PIXEL(a) { (a) = 0 } # include "amigax.h" -#elif macintosh +#elif defined(macintosh) || defined(__APPLE__) #define IS_EQUAL_PIXEL( a , b ) ( (a).red == (b).red && (a).green == (b).green && (a).blue == (b).blue ) #define IS_ZERO_PIXEL(a) (!(a).red && !(a).green && !(a).blue ) #define SET_ZERO_PIXEL(a) { (a).red = 0 ; (a).green = 0 ;(a).blue = 0 ;}