]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Default to short wchar_t in stddef.h
authorMichael Brown <mcb30@ipxe.org>
Sun, 28 Apr 2013 16:43:37 +0000 (17:43 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 28 Apr 2013 16:43:37 +0000 (17:43 +0100)
commit1aca99f3cf46fc8551895b30d974ade52a2ba489
tree583f57e4b2ec7d6310312000626cd6642a826bde
parent4678864ce65d5f3f3ae6399e152448d848bd8027
[build] Default to short wchar_t in stddef.h

sparse does not understand -fshort-wchar.  Default to using uint16_t
as a wchar_t if not explicitly specified by the compiler, to avoid
large numbers of spurious warnings from sparse.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/stddef.h