mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Add MSVC defines for ARM and ARM64
NVTT contains a mechanism for recognizing architecture from compiler predefines. Added MSVC ARM and ARM64 predefines to this mechanism, which allows bimg to build for UWP on those architectures.
This commit is contained in:
4
3rdparty/nvtt/nvcore/posh.h
vendored
4
3rdparty/nvtt/nvcore/posh.h
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user