diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 22:46:03 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 22:46:03 -0500 |
commit | 3a67f20f0bc737e3efa05b369739326d08093ce8 (patch) | |
tree | 6da495101480f9166f0a27cf2e5ccd3b7d2521fe | |
parent | 799a428671bfac627fa8866dee2144bec07c206c (diff) | |
download | lite-xl-plugin-manager-3a67f20f0bc737e3efa05b369739326d08093ce8.tar.gz lite-xl-plugin-manager-3a67f20f0bc737e3efa05b369739326d08093ce8.zip |
Updated architecture auto-detection.
-rw-r--r-- | src/lpm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1005,13 +1005,13 @@ static const luaL_Reg system_lib[] = { #ifndef ARCH_PROCESSOR - #if __x86_64__ || _WIN64 || __MINGW64__ + #if defined(__x86_64__) || defined(_M_AMD64) || defined(__MINGW64__) #define ARCH_PROCESSOR "x86_64" - #elif __i386__ + #elif defined(__i386__) || defined(_M_IX86) || defined(__MINGW32__) #define ARCH_PROCESSOR "x86" - #elif __aarch64__ + #elif defined(__aarch64__) || defined(_M_ARM64) || defined (_M_ARM64EC) #define ARCH_PROCESSOR "aarch64" - #elif __arm__ + #elif defined(__arm__) || defined(_M_ARM) #define ARCH_PROCESSOR "arm" #else #error "Please define -DARCH_PROCESSOR." |