简体   繁体   English

Xcode和C11 stdatomic.h

[英]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? 似乎Xcode 5和更高版本支持C11,但是当我尝试包含stdatomic.h时,它说找不到文件? Is it possible to use C11 atomic structures in Xcode? 是否可以在Xcode中使用C11原子结构?

stdatomic.h is available in Xcode 7 and later. Xcode 7和更高版本中提供了stdatomic.h

The MacOS 10.12 SDK adds stdatomic.h to its module map opening up availability to the Swift compiler as well. MacOS 10.12 SDK在其模块映射中添加了stdatomic.h ,也为Swift编译器提供了可用性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM