Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/src/util fix for clang.
details: https://anonhg.NetBSD.org/xsrc/rev/535948120361
branches: trunk
changeset: 10271:535948120361
user: christos <christos%NetBSD.org@localhost>
date: Thu May 02 20:56:21 2019 +0000
description:
fix for clang.
diffstat:
external/mit/MesaLib/dist/src/util/u_atomic.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 5f9d12c5617f -r 535948120361 external/mit/MesaLib/dist/src/util/u_atomic.c
--- a/external/mit/MesaLib/dist/src/util/u_atomic.c Sun Apr 21 18:52:56 2019 +0000
+++ b/external/mit/MesaLib/dist/src/util/u_atomic.c Thu May 02 20:56:21 2019 +0000
@@ -63,7 +63,11 @@
}
WEAK long long
-__sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval)
+__sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval
+#ifdef __clang__
+ , ...
+#endif
+)
{
long long r;
Home |
Main Index |
Thread Index |
Old Index