Fix a compile error by using clang-x86_64-pc-windows-msvc (#1890)
Some checks failed
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled

This commit is contained in:
Koji KITAYAMA 2024-09-06 01:37:39 +09:00 committed by GitHub
parent dfb573818f
commit 3a79149d2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ extern void tight_loop_contents();
#define __STRING(x) #x
#endif
#ifndef _MSC_VER
#if !defined(_MSC_VER) || defined(__clang__)
#ifndef __noreturn
#define __noreturn __attribute((noreturn))
#endif