From 2854d6565a1b69d0ef45d644688ea6ff7701e09b Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 3 May 2020 02:33:35 +0000 Subject: nt32|nt64: provide __BYTE_ORDER definition in alltypes.h. [while maintaining compatibility with older musl versions] [cf. musl commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea] --- arch/nt64/bits/alltypes.h.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/nt64') diff --git a/arch/nt64/bits/alltypes.h.in b/arch/nt64/bits/alltypes.h.in index dc551d4..8f14895 100644 --- a/arch/nt64/bits/alltypes.h.in +++ b/arch/nt64/bits/alltypes.h.in @@ -2,6 +2,12 @@ #define _Int64 long #define _Reg long +#ifndef __BYTE_ORDER__ +#define __BYTE_ORDER__ 1234 +#endif + +#define __BYTE_ORDER __BYTE_ORDER__ + TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; -- cgit v1.2.3