Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pause support for riscv #1253

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: add riscv detection macros in config.hpp
  • Loading branch information
XieJiSS authored Feb 28, 2024
commit 366008657484f55182b1b08e1e137ac53e8f3574
8 changes: 8 additions & 0 deletions src/external/cpuid/platform/src/platform/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
#define PLATFORM_MIPS 1
#define PLATFORM_CLANG_MIPS 1
#define PLATFORM_GCC_COMPATIBLE_MIPS 1
#elif defined(__riscv)
#define PLATFORM_RISCV 1
#define PLATFORM_CLANG_RISCV 1
#define PLATFORM_GCC_COMPATIBLE_RISCV 1
#elif defined(__asmjs__)
#define PLATFORM_ASMJS 1
#define PLATFORM_CLANG_ASMJS 1
Expand All @@ -75,6 +79,10 @@
#define PLATFORM_MIPS 1
#define PLATFORM_GCC_MIPS 1
#define PLATFORM_GCC_COMPATIBLE_MIPS 1
#elif defined(__riscv)
#define PLATFORM_RISCV 1
#define PLATFORM_GCC_RISCV 1
#define PLATFORM_GCC_COMPATIBLE_RISCV 1
#endif
#elif defined(_MSC_VER)
#define PLATFORM_MSVC 1
Expand Down