diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-16 18:16:59 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-16 18:16:59 +0000 |
commit | 533c410b185717f71fbc190681b20434fc076c34 (patch) | |
tree | e07dcf5d809a2ac8a63eaaa9d59ca8d226347301 /packages/patches | |
parent | 7a43242d788bd43dfcaa21aa372c5b2a309d41e0 (diff) |
added fix from tigital for d_array.c
svn path=/trunk/; revision=5952
Diffstat (limited to 'packages/patches')
-rw-r--r-- | packages/patches/macintel-0.39.2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/patches/macintel-0.39.2.patch b/packages/patches/macintel-0.39.2.patch index 99308238..226de8e3 100644 --- a/packages/patches/macintel-0.39.2.patch +++ b/packages/patches/macintel-0.39.2.patch @@ -20,3 +20,31 @@ diff -u -w -r1.15 configure.in SYSSRC="s_midi_pm.c s_audio_pa.c \ s_audio_pablio.c \ s_audio_paring.c \ +Index: d_array.c +=================================================================== +RCS file: /cvsroot/pure-data/pd/src/d_array.c,v +retrieving revision 1.5 +diff -u -w -r1.5 d_array.c +--- d_array.c 11 Nov 2004 04:58:21 -0000 1.5 ++++ d_array.c 16 Sep 2006 18:11:29 -0000 +@@ -540,12 +540,16 @@ + #define int32 int32_t + + #else +-#ifdef MACOSX ++#ifdef __APPLE__ ++#define int32 int /* a data type that has 32 bits */ ++# ifdef __BIG_ENDIAN__ + #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 */ ++# else ++# define HIOFFSET 1 /* word offset to find MSB */ ++# define LOWOFFSET 0 /* word offset to find LSB */ ++#endif /* __BIG_ENDIAN__ */ ++#endif /* __APPLE__ */ + #endif /* __linux__ */ + #endif /* MSW */ + #endif /* SGI */ |