CVSROOT: /cvs
Module name: xenocara
Changes by: [email protected] 2020/04/03 01:26:18
Modified files:
lib/mesa/src/util: u_atomic.c
Log message:
Make this build on clang architectures that don't have 64-bit atomic
instructions. Clang doesn't allow redeclaration (and therefore
redefinition) of the __sync_* builtins. Use #pragma redefine_extname
to work around that restriction. Clang also turns __sync_add_and_fetch
into __sync_fetch_and_add (and __sync_sub_and_fetch into
__sync_fetch_and_sub) in certain cases, so provide these functions as
well.
ok jsg@