From 6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 4 Sep 2016 15:18:14 +0100 Subject: use correct macro to detect mac os x --- src/plot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plot.h b/src/plot.h index 65ef264..2beca42 100644 --- a/src/plot.h +++ b/src/plot.h @@ -29,8 +29,8 @@ #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ #define NSFB_BE_BYTE_ORDER #endif -#elif defined(OS_MACOSX) -/* mac os x has the include somewhere different */ +#elif defined(__APPLE__) + /* mac os x has the include somewhere different */ #include #if BYTE_ORDER == BIG_ENDIAN #define NSFB_BE_BYTE_ORDER -- cgit v1.2.3