Commit b3291ede authored by Derek Buitenhuis's avatar Derek Buitenhuis

MSVC Compat: Move stdatomic fallback to its own directory

Mirrors what we do for GCC.
Signed-off-by: Derek Buitenhuis's avatarDerek Buitenhuis <>
parent f225ad7a
......@@ -106,7 +106,7 @@ if not cc.check_header('stdatomic.h')
if cc.get_id() == 'msvc'
# we have a custom replacement for MSVC
stdatomic_dependency = declare_dependency(
include_directories : include_directories('include/compat'),
include_directories : include_directories('include/compat/msvc'),
elif cc.compiles('''int main() { int v = 0; return __atomic_fetch_add(&v, 1, __ATOMIC_SEQ_CST); }''',
name : 'GCC-style atomics', args : test_args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment