Merge pull request #26 from syntheticmagus/master

Add MSVC defines for ARM and ARM64
This commit is contained in:
Бранимир Караџић
2019-08-08 19:45:41 -07:00
committed by GitHub

View File

@@ -490,12 +490,12 @@ LLVM:
# define POSH_CPU_SPARC 1 # define POSH_CPU_SPARC 1
#endif #endif
#if defined ARM || defined __arm__ || defined _ARM #if defined ARM || defined __arm__ || defined _ARM || defined _M_ARM
# define POSH_CPU_STRONGARM 1 # define POSH_CPU_STRONGARM 1
# define POSH_CPU_STRING "ARM" # define POSH_CPU_STRING "ARM"
#endif #endif
#if defined __aarch64__ #if defined __aarch64__ || defined _M_ARM64
# define POSH_CPU_AARCH64 1 # define POSH_CPU_AARCH64 1
# define POSH_CPU_STRING "ARM64" # define POSH_CPU_STRING "ARM64"
#endif #endif