mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix atomix operations on unofficial 64bit archs
This commit is contained in:
parent
2dc139cd89
commit
c3f09c06cb
1 changed files with 4 additions and 1 deletions
|
|
@ -61,7 +61,10 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__) || defined(__s390x__) || defined(__powerpc64__) || defined(__aarch64__) || (defined(__sparc__) && defined(__arch64__))
|
||||
/* This is becoming a bit nastier that it was originally foreseen,
|
||||
* consider using autoconfig detection instead.
|
||||
*/
|
||||
#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__) || defined(__s390x__) || defined(__powerpc64__) || defined(__aarch64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__alpha__) || defined(__mips64)
|
||||
# define LG_SIZEOF_PTR 3
|
||||
# define LG_SIZEOF_INT 2
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue