Update of /cvsroot/pure-data/externals/iemlib/iemlib2/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4993
Modified Files: iemlib.h protect_against_open.c Log Message: applied mac intel fix patch from thomas grill
Index: protect_against_open.c =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/iemlib2/src/protect_against_open.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** protect_against_open.c 9 Dec 2006 01:57:51 -0000 1.1 --- protect_against_open.c 17 Jan 2007 14:52:17 -0000 1.2 *************** *** 21,25 **** /* ------------ you cannot open again this subpatch ------------------ */
! t_widgetbehavior protect_against_open_widgetbehavior; static t_class *protect_against_open_class;
--- 21,25 ---- /* ------------ you cannot open again this subpatch ------------------ */
! static t_widgetbehavior protect_against_open_widgetbehavior; static t_class *protect_against_open_class;
Index: iemlib.h =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/iemlib2/src/iemlib.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** iemlib.h 9 Dec 2006 01:57:51 -0000 1.1 --- iemlib.h 17 Jan 2007 14:52:17 -0000 1.2 *************** *** 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 */