Xcode and C11 stdatomic.h

It looks like Xcode 5 and above supports C11, but when I try to include stdatomic.h, it says that it cannot find the file? Is it possible to use C11 atomic structures in Xcode?

+8
c c11 xcode stdatomic llvm-clang
source share
1 answer

stdatomic.h is available in Xcode 7 and later.

The MacOS 10.12 SDK adds stdatomic.h to its module map, making access also available for the Swift compiler.

+1
source share

All Articles