Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-07-03 23:50:53 +0400
committerTon Roosendaal <ton@blender.org>2006-07-03 23:50:53 +0400
commit64ff9ae4a846deb780c186893267f11bc40465d5 (patch)
tree68f16ee688a988f09dd15fcaf8f5938e84475813 /source/blender/imbuf/intern/imbuf.h
parentd55b5240b9eb26429a2cadea055c904b032b90d0 (diff)
Mac intel commit
- patch from Douglas with endian fixes - Makefile adds static libiconv.a from lib/ - this version will use OpenEXR libs from lib/ too, and is latest release with threading support - openAL is missing, added it as default to not include it
Diffstat (limited to 'source/blender/imbuf/intern/imbuf.h')
-rw-r--r--source/blender/imbuf/intern/imbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/imbuf.h b/source/blender/imbuf/intern/imbuf.h
index 9af588bf7e2..1f17217459d 100644
--- a/source/blender/imbuf/intern/imbuf.h
+++ b/source/blender/imbuf/intern/imbuf.h
@@ -63,7 +63,7 @@
#define ENDIAN_NOP(x) (x)
-#if defined(__sgi) || defined(__sparc) || defined(__sparc__) || defined (__PPC__) || defined (__APPLE__)
+#if defined(__sgi) || defined(__sparc) || defined(__sparc__) || defined (__PPC__) || (defined (__APPLE__) && !defined(__LITTLE_ENDIAN__))
#define LITTLE_SHORT SWAP_SHORT
#define LITTLE_LONG SWAP_LONG
#define BIG_SHORT ENDIAN_NOP