1 $NetBSD: patch-src_util_u__atomic.h,v 1.2 2019/08/21 13:35:28 nia Exp $
3 Fix SunOS atomic macros.
5 --- src/util/u_atomic.h.orig 2018-09-07 21:18:07.000000000 +0000
6 +++ src/util/u_atomic.h
8 * locally coded assembly, compiler intrinsic or ultimately a
9 * mutex-based implementation.
12 +#if defined(__sun) && !defined(__GNUC__)
13 #define PIPE_ATOMIC_OS_SOLARIS
14 #elif defined(_MSC_VER)
15 #define PIPE_ATOMIC_MSVC_INTRINSIC