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/avirgb.c | |
parent | 91f956dfe2b03d50007ec57a05cf211f2859e2c3 (diff) |
Fixed defined __sparc to also check for __sparc__ (thanks to Ferris)
Diffstat (limited to 'source/blender/avi/intern/avirgb.c')
-rw-r--r-- | source/blender/avi/intern/avirgb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/avi/intern/avirgb.c b/source/blender/avi/intern/avirgb.c index 051c351a0f8..4ebf381e5bf 100644 --- a/source/blender/avi/intern/avirgb.c +++ b/source/blender/avi/intern/avirgb.c @@ -42,6 +42,11 @@ #include "MEM_guardedalloc.h" #include "avirgb.h" +#if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__BIG_ENDIAN__) +#define WORDS_BIGENDIAN +#endif + + /* implementation */ void *avi_converter_from_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size) { |