mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
![]() MSVC does not support C11 atomics, but it still provides a "stub" version of stdatomic.h, which aborts compilation with an #error directive when included. To avoid this error, explicitly set the C standard to C11 when invoking the C preprocessor on Windows, and check for the C11 macro __STDC_NO_ATOMICS__ before including stdatomic.h. |
||
---|---|---|
.. | ||
src | ||
Makefile |