Skip to content
Commit dd89e1ef authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Stop undefining _ATOMIC_TYPE in Solaris/NetBSD section of xf86atomic.h



Since the atomic_set() macro references _ATOMIC_TYPE, undefining it
broke that macro, resulting in build errors of:
"intel_bufmgr_gem.c", line 775: undefined symbol: _ATOMIC_TYPE

Now that we're leaving the macro in the namespace, renamed it to start
with LIBDRM_ instead of _ to avoid polluting others namespace.

Regression introduced in 87fdd32c Add NetBSD atomic ops support.

Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-By: default avatarThomas Klausner <wiz@NetBSD.org>
parent 95f23cf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment