summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-04-03 07:26:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-04-03 07:26:19 +0000
commitecc61d555f0f7b4ccf5b39290d8a89494a3733c6 (patch)
treee341f3949155143de5e28f0b34449b182a645352 /xserver
parent7aba151034a56bccff074eaa4be554379bb63cd0 (diff)
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@
Diffstat (limited to 'xserver')
0 files changed, 0 insertions, 0 deletions