summaryrefslogtreecommitdiffstats
path: root/src/gallium/README.portability
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-11-21 16:33:40 -0800
committerMatt Turner <[email protected]>2014-12-01 11:28:45 -0800
commit6df72e970c0e2794a5651f7141528baa51c0c491 (patch)
tree6100868706cfa3e341c4b69eef835d550cca1801 /src/gallium/README.portability
parent41b5858a2f1d15153d8091235f2ed7610508a334 (diff)
util: Make u_atomic.h typeless.
like how C11's stdatomic.h provides generic functions. GCC's __sync_* builtins already take a variety of types, so that's simple. MSVC and Sun Studio don't, but we can implement it with something that looks a little crazy but is actually quite readable. Thanks to Jose for some MSVC fixes! Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions