Update of /cvsroot/pure-data/externals/iem/iem_tab/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30522
Modified Files: iemlib.h Log Message: osx fix for iemlib.h
Index: iemlib.h =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iem_tab/src/iemlib.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** iemlib.h 14 Dec 2006 17:54:09 -0000 1.3 --- iemlib.h 17 Jan 2007 18:34:49 -0000 1.4 *************** *** 81,86 **** --- 81,91 ---- #else #ifdef __APPLE__ + #ifdef __BIG_ENDIAN__ #define HIOFFSET 0 /* word offset to find MSB */ #define LOWOFFSET 1 /* word offset to find LSB */ + #else + #define HIOFFSET 1 /* word offset to find MSB */ + #define LOWOFFSET 0 /* word offset to find LSB */ + #endif #define int32 int /* a data type that has 32 bits */
*************** *** 96,100 **** };
! #ifdef __i386__ #define IEM_DENORMAL(f) ((((*(unsigned int*)&(f))&0x60000000)==0) || \ (((*(unsigned int*)&(f))&0x60000000)==0x60000000)) --- 101,105 ---- };
! #if defined __i386__ || defined __x86_64__ #define IEM_DENORMAL(f) ((((*(unsigned int*)&(f))&0x60000000)==0) || \ (((*(unsigned int*)&(f))&0x60000000)==0x60000000))