Skip to content

Commit

Permalink
Make error message clear when architecture is unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Dec 5, 2024
1 parent 610924f commit f81003f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/host/premake.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
#define PLATFORM_ARCHITECTURE "ARM"
#elif defined(_M_RISCV64) || (defined(__riscv) && __riscv_xlen == 64)
#define PLATFORM_ARCHITECTURE "RISCV64"
#else
#error Unknown architecture detected
#endif

/* Pull in platform-specific headers required by built-in functions */
Expand Down

0 comments on commit f81003f

Please sign in to comment.