[Bf-blender-cvs] [4b2c826] master: Fix compilation on unofficial 64bit archs

Matteo F. Vescovi noreply at git.blender.org
Mon Jun 2 12:27:44 CEST 2014


Commit: 4b2c8261782b62199235dd80fb4690e2721f3ed9
Author: Matteo F. Vescovi
Date:   Mon Mar 24 08:48:07 2014 +0100
https://developer.blender.org/rB4b2c8261782b62199235dd80fb4690e2721f3ed9

Fix compilation on unofficial 64bit archs

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

M	intern/atomic/atomic_ops.h

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

diff --git a/intern/atomic/atomic_ops.h b/intern/atomic/atomic_ops.h
index b5a73b1..bb55ac1 100644
--- a/intern/atomic/atomic_ops.h
+++ b/intern/atomic/atomic_ops.h
@@ -61,7 +61,7 @@
 #  endif
 #endif
 
-#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
+#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__) || defined(__s390x__) || defined(__powerpc64__) || defined(__aarch64__) || (defined(__sparc__) && defined(__arch64__))
 #  define LG_SIZEOF_PTR 3
 #  define LG_SIZEOF_INT 2
 #else




More information about the Bf-blender-cvs mailing list