zig/lib/libc/musl/arch/powerpc/bits/endian.h
Andrew Kelley 49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00

16 lines
314 B
C

#ifdef __BIG_ENDIAN__
#if __BIG_ENDIAN__
#define __BYTE_ORDER __BIG_ENDIAN
#endif
#endif /* __BIG_ENDIAN__ */
#ifdef __LITTLE_ENDIAN__
#if __LITTLE_ENDIAN__
#define __BYTE_ORDER __LITTLE_ENDIAN
#endif
#endif /* __LITTLE_ENDIAN__ */
#ifndef __BYTE_ORDER
#define __BYTE_ORDER __BIG_ENDIAN
#endif