mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-10-22 16:51:03 +00:00
Fix vendored dav1d stdatomic.h on recent MSVC (guard __has_include_next) (#166)
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4067) /* newline for __has_include_next */
|
||||
|
||||
#ifndef __has_include_next
|
||||
#define __has_include_next(x) 0
|
||||
#endif
|
||||
|
||||
#if defined(__clang__) && __has_include_next(<stdatomic.h>)
|
||||
/* use the clang stdatomic.h with clang-cl*/
|
||||
# include_next <stdatomic.h>
|
||||
|
||||
Reference in New Issue
Block a user