Skip to content

Commit

Permalink
IceUtil: Define ICE_LITTLE_ENDIAN if _M_ARM64 is
Browse files Browse the repository at this point in the history
_M_ARM64 is defined by MSVC when the target architecture is ARM64.

https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
  • Loading branch information
davidebeatrici committed Mar 28, 2021
1 parent 9866096 commit a9d68a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/include/IceUtil/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
defined(__ARMEL__) || \
defined(_M_ARM_FP) || \
defined(__arm64) || \
defined(_M_ARM64) || \
defined(__MIPSEL__)

# define ICE_LITTLE_ENDIAN
Expand Down

0 comments on commit a9d68a8

Please sign in to comment.