diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-10-30 00:55:52 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-10-30 00:55:52 +0300 |
commit | d063311b085adc62996cc3d53dc0cc64c6b6af3f (patch) | |
tree | cc6eed7ff08fb7871180ed4a8c389e678a7241a1 /source/blender/avi/intern/endian.c | |
parent | 91f956dfe2b03d50007ec57a05cf211f2859e2c3 (diff) |
Fixed defined __sparc to also check for __sparc__ (thanks to Ferris)
Diffstat (limited to 'source/blender/avi/intern/endian.c')
-rw-r--r-- | source/blender/avi/intern/endian.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/avi/intern/endian.c b/source/blender/avi/intern/endian.c index 3308d05ce43..144e7ee86db 100644 --- a/source/blender/avi/intern/endian.c +++ b/source/blender/avi/intern/endian.c @@ -41,6 +41,10 @@ #include "AVI_avi.h" #include "endian.h" +#if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__BIG_ENDIAN__) +#define WORDS_BIGENDIAN +#endif + static void invert (int *num) { int new=0,i,j; |