Brian Callahan:

> phessler@'s latest aarch64 bulk showed that games/stepmania failed to build.
> The attach patch fixes things on it and armv7 as a bonus.

> ++/* detect arm64 and arm */
> ++#if defined(__OpenBSD__)
> ++  #if defined(__aarch64__)
> ++    #define ENDIAN_LITTLE
> ++    #define ENDIAN_64BITWORD
> ++  #elif defined(__arm__)
> ++    #define ENDIAN_LITTLE
> ++    #define ENDIAN_32BITWORD
> ++  #endif
> ++#endif

Would it be possible to use <endian.h> and __LP64__ to set these
instead of hardcoding individual archs?

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to