Przeglądaj źródła

Merge pull request #26 from syntheticmagus/master

Add MSVC defines for ARM and ARM64
Бранимир Караџић 6 lat temu
rodzic
commit
3484e01134
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      3rdparty/nvtt/nvcore/posh.h

+ 2 - 2
3rdparty/nvtt/nvcore/posh.h

@@ -490,12 +490,12 @@ LLVM:
 #  define POSH_CPU_SPARC 1
 #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_STRING "ARM"
 #endif
 
-#if defined __aarch64__
+#if defined __aarch64__ || defined _M_ARM64
 #  define POSH_CPU_AARCH64 1
 #  define POSH_CPU_STRING "ARM64"
 #endif