cleanup endian handling
authorCampbell Barton <ideasman42@gmail.com>
Mon, 19 Sep 2011 08:02:17 +0000 (08:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 19 Sep 2011 08:02:17 +0000 (08:02 +0000)
commit83a2f02a78cd01aaf31b9b4ae8a217a1ecea6a49
tree9a2b9e2d5aa4f5b5bc4835848c3dc78029643d9a
parent425a81a29b8adf1fc2d913dfc679d6ca62cd05fa
cleanup endian handling
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons.
- ENDIAN_ORDER is now a define rather than a global short.
- replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
- remove BKE_endian.h which isn't used
19 files changed:
CMakeLists.txt
SConstruct
build_files/scons/tools/btools.py
intern/audaspace/intern/AUD_ConverterReader.cpp
intern/audaspace/intern/AUD_Mixer.cpp
intern/guardedalloc/intern/mallocn.c
intern/string/intern/STR_String.cpp
source/blender/avi/intern/avirgb.c
source/blender/avi/intern/endian.c
source/blender/blenkernel/BKE_endian.h [deleted file]
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/BKE_utildefines.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/blender.c
source/blender/blenlib/BLI_utildefines.h
source/blender/imbuf/intern/IMB_anim.h
source/blender/imbuf/intern/imbuf.h
source/blender/makesdna/DNA_ID.h
source/blender/render/intern/source/shadbuf.c