atomic: prefer gcc builtins over win32 atomics, if available.
authorHendrik Leppkes <h.leppkes@gmail.com>
Sun, 10 Mar 2013 22:03:42 +0000 (23:03 +0100)
committerMartin Storsjö <martin@martin.st>
Mon, 11 Mar 2013 14:57:25 +0000 (16:57 +0200)
commitd6d369bf1370999896500ae7eb5b9447ab635a3d
tree5bbf665ddff56db085c7949e75c159a6517fb341
parentfc8406d01ed5266d9ffefa4f0b6319f966786bf9
atomic: prefer gcc builtins over win32 atomics, if available.

The mingw win32 atomics appear to be faulty, so they should not be used
if the gcc ones are available.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/atomic.h