[Bf-blender-cvs] [29eb567] master: Cleanup: unused defines

Campbell Barton noreply at git.blender.org
Thu Aug 7 18:12:08 CEST 2014


Commit: 29eb56728832e223e78bb51de4fc28ba0523e642
Author: Campbell Barton
Date:   Fri Aug 8 02:07:15 2014 +1000
Branches: master
https://developer.blender.org/rB29eb56728832e223e78bb51de4fc28ba0523e642

Cleanup: unused defines

===================================================================

M	source/blender/makesdna/DNA_ID.h

===================================================================

diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 1ba24f5..8483e5f 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -168,14 +168,10 @@ typedef struct PreviewImage {
 
 #ifdef __BIG_ENDIAN__
    /* big endian */
-#  define MAKE_ID2(c, d)		( (c)<<8 | (d) )
-#  define MOST_SIG_BYTE			0
-#  define BBIG_ENDIAN
+#  define MAKE_ID2(c, d)  ((c) << 8 | (d))
 #else
    /* little endian  */
-#  define MAKE_ID2(c, d)		( (d)<<8 | (c) )
-#  define MOST_SIG_BYTE			1
-#  define BLITTLE_ENDIAN
+#  define MAKE_ID2(c, d)  ((d) << 8 | (c))
 #endif
 
 /* ID from database */




More information about the Bf-blender-cvs mailing list