Diff

Differences From Artifact [3d4b689176]:

To Artifact [c338a964f0]:


25
26
27
28
29
30
31







	rm -f asm/posix_types.h.new
fi

# Busted wrapper fix-up
if grep '__STDC_HOSTED__' stdint.h >/dev/null 2>/dev/null && grep '_GCC_WRAP_STDINT_H' stdint.h >/dev/null 2>/dev/null; then
	echo '#include_next <stdint.h>' > stdint.h
fi














>
>
>
>
>
>
>
25
26
27
28
29
30
31
32
33
34
35
36
37
38
	rm -f asm/posix_types.h.new
fi

# Busted wrapper fix-up
if grep '__STDC_HOSTED__' stdint.h >/dev/null 2>/dev/null && grep '_GCC_WRAP_STDINT_H' stdint.h >/dev/null 2>/dev/null; then
	echo '#include_next <stdint.h>' > stdint.h
fi

# MUSL libc expects GCC
if grep ' __builtin_va_list ' bits/alltypes.h >/dev/null 2>/dev/null; then
	sed 's@ __builtin_va_list @ char * @' bits/alltypes.h > bits/alltypes.h.new
	cat bits/alltypes.h.new > bits/alltypes.h
	rm -f bits/alltypes.h.new
fi