VirtualBox

Changeset 123 in kStuff


Ignore:
Timestamp:
Nov 2, 2024 11:41:24 PM (4 weeks ago)
Author:
bird
Message:

kDefs.h: Detect arm64 on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/k/kDefs.h

    r122 r123  
    217217# elif defined(__alpha__)
    218218#  define K_ARCH    K_ARCH_ALPHA
    219 # elif defined(__arm__) || defined(__arm32__)
     219# elif defined(__arm__) || defined(__arm32__) || defined(_M_ARM)
    220220#  define K_ARCH    K_ARCH_ARM_32
    221 # elif defined(__aarch64__) || defined(__arm64__)
     221# elif defined(__aarch64__) || defined(__arm64__) || defined(_M_ARM64)
    222222#  define K_ARCH    K_ARCH_ARM_64
    223223# elif defined(__hppa__) && defined(__LP64__)
     
    369369#   error "Port Me or define K_ENDIAN."
    370370#  endif
     371# elif defined(_MSC_VER) /* fix when encounter situation where this isn't the case... */
     372#  define K_ENDIAN K_ENDIAN_LITTLE
    371373# else
    372374#  error "Port Me or define K_ENDIAN."
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette