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 try again to get it wor...
details: https://anonhg.NetBSD.org/xsrc/rev/6f911bf1e93c
branches: trunk
changeset: 10274:6f911bf1e93c
user: christos <christos%NetBSD.org@localhost>
date: Sat May 11 18:50:15 2019 +0000
description:
try again to get it working for clang
diffstat:
external/mit/MesaLib/dist/src/util/u_atomic.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r 6043ce75ea40 -r 6f911bf1e93c external/mit/MesaLib/dist/src/util/u_atomic.c
--- a/external/mit/MesaLib/dist/src/util/u_atomic.c Fri May 10 06:22:20 2019 +0000
+++ b/external/mit/MesaLib/dist/src/util/u_atomic.c Sat May 11 18:50:15 2019 +0000
@@ -62,12 +62,9 @@
return r;
}
+#ifndef __clang__
WEAK long long
-__sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval
-#ifdef __clang__
- , ...
-#endif
-)
+__sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval)
{
long long r;
@@ -79,5 +76,6 @@
return r;
}
+#endif
#endif
Home |
Main Index |
Thread Index |
Old Index