mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Merge pull request #26 from syntheticmagus/master
Add MSVC defines for ARM and ARM64
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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user