Update of /cvsroot/pure-data/externals/iem16/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10124
Modified Files: iem16_table.h Log Message: fix for compilation on osx
Index: iem16_table.h =================================================================== RCS file: /cvsroot/pure-data/externals/iem16/src/iem16_table.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iem16_table.h 1 Jul 2005 12:07:50 -0000 1.2 --- iem16_table.h 16 Jan 2007 15:47:44 -0000 1.3 *************** *** 77,86 ****
#else ! #ifdef __apple__ #define HIOFFSET 0 /* word offset to find MSB */ #define LOWOFFSET 1 /* word offset to find LSB */ #define int32 int /* a data type that has 32 bits */
! #endif /* MACOSX */ #endif /* __linux__ */ #endif /* MSW */ --- 77,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 + #define LOWOFFSET 0 + #endif #define int32 int /* a data type that has 32 bits */
! #endif /* __APPLE__ */ #endif /* __linux__ */ #endif /* MSW */