From 9303c7e113a5527d58b814c7bb11db5dbdfba5a4 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 20 Jan 2007 04:06:07 +0000 Subject: improve error reporting for lists to inlets, and replace __BYTE_ORDER by BYTE_ORDER to fix compile failure on Mac. svn path=/trunk/; revision=7367 --- pd/src/d_osc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pd/src/d_osc.c') diff --git a/pd/src/d_osc.c b/pd/src/d_osc.c index 0f2eb3e9..b0becdba 100644 --- a/pd/src/d_osc.c +++ b/pd/src/d_osc.c @@ -35,11 +35,11 @@ #endif #if defined(__unix__) || defined(__APPLE__) -#if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) +#if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN) #error No byte order defined #endif -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if BYTE_ORDER == LITTLE_ENDIAN #define HIOFFSET 1 #define LOWOFFSET 0 #else -- cgit v1.2.1