Module Name:    xsrc
Committed By:   christos
Date:           Sat May 11 18:50:15 UTC 2019

Modified Files:
        xsrc/external/mit/MesaLib/dist/src/util: u_atomic.c

Log Message:
try again to get it working for clang

To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c
diff -u xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c:1.4 xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c:1.5
--- xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c:1.4	Thu May  2 16:56:21 2019
+++ xsrc/external/mit/MesaLib/dist/src/util/u_atomic.c	Sat May 11 14:50:15 2019
@@ -62,12 +62,9 @@ __atomic_fetch_sub_8(volatile long long 
    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__
-	, ...
+__sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval)
    long long r;
@@ -79,5 +76,6 @@ __sync_val_compare_and_swap_8(volatile l
    return r;

Reply via email to