diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-02-24 22:12:00 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-02-24 22:12:00 -0500 |
commit | 96a1498654f4f9db0d15249666b817d204fccec2 (patch) | |
tree | dfa18c14a7a4fe8282e66db37debb8842283c278 /src | |
parent | 191fbe15adeb858081845212f3a54f6dff8f3cf9 (diff) | |
download | lite-xl-plugin-manager-96a1498654f4f9db0d15249666b817d204fccec2.tar.gz lite-xl-plugin-manager-96a1498654f4f9db0d15249666b817d204fccec2.zip |
Fixed risc.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1058,9 +1058,9 @@ static const luaL_Reg system_lib[] = { #define ARCH_PROCESSOR "aarch64" #elif defined(__arm__) || defined(_M_ARM) #define ARCH_PROCESSOR "arm" - #edif __riscv_xlen == 32 + #elif defined(__riscv_xlen) && __riscv_xlen == 32 #define ARCH_PROCESSOR "riscv32" - #elif __riscv_xlen == 64 + #elif defined(__riscv_xlen) && __riscv_xlen == 64 #define ARCH_PROCESSOR "riscv64" #else #error "Please define -DARCH_PROCESSOR." |