util/u_atomic: Add _InterlockedExchangeAdd8/16 for older MSVC.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 11 Feb 2015 15:30:39 +0000 (15:30 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Thu, 12 Feb 2015 19:32:21 +0000 (19:32 +0000)
commit531d47baa8f755a688c77aec488742ee7d491014
tree9ed9e4d29d418d619b908914b082388bebe81bc0
parentd2438f5920b95a880e9146882a58bf37ec57bad5
util/u_atomic: Add _InterlockedExchangeAdd8/16 for older MSVC.

We need to build certain parts of Mesa (namely gallium, llvmpipe, and
therefore util) with Windows SDK 7.0.7600, which includes MSVC 2008.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/util/u_atomic.h