[compiler-rt] r248328 - [builtins] Fixing atomic builtins to be compiled out if stdatomic.h isn't available.

H.J. Lu via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 08:46:23 PDT 2015


On Wed, Sep 23, 2015 at 8:40 AM, Chris Bieneman <beanz at apple.com> wrote:
> This should be fixed in r248386.
>

FWIW, you can check  defined(__clang__) before using
Clang specific <stdatomic.h> on any platforms.


-- 
H.J.


More information about the llvm-commits mailing list