Skip to content

Commit

Permalink
Recognize the MSVC ARM64 compiler arch identification
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Sep 2, 2018
1 parent 5052ff3 commit c2682cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libFDK/include/FDK_archdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ [email protected]
#define __x86__
#endif

#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__)
#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__) || defined(_M_ARM64)
#define __arm__
#endif

Expand Down Expand Up @@ -162,7 +162,7 @@ [email protected]
#define __ARM_ARCH_7EM__
#endif

#if defined(__aarch64__)
#if defined(__aarch64__) || defined(_M_ARM64)
#define __ARM_ARCH_8__
#endif

Expand Down

0 comments on commit c2682cf

Please sign in to comment.