Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode and C11 stdatomic.h

Seems like Xcode 5 and higher supports C11 but when I try to include stdatomic.h it says it can not find the file? Is it possible to use C11 atomic structures in Xcode?

like image 925
bitwise Avatar asked Oct 18 '14 14:10

bitwise


1 Answers

stdatomic.h is available in Xcode 7 and later.

The MacOS 10.12 SDK adds stdatomic.h to its module map opening up availability to the Swift compiler as well.

like image 81
Cinder Biscuits Avatar answered Oct 31 '22 16:10

Cinder Biscuits