This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch] Fix MIPS build failure caused by -Werror=undef
- From: Roland McGrath <roland at hack dot frob dot com>
- To: <sellcey at imgtec dot com>
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>, Joseph Myers <joseph at codesourcery dot com>, <libc-alpha at sourceware dot org>
- Date: Tue, 17 Feb 2015 16:09:49 -0800 (PST)
- Subject: Re: [Patch] Fix MIPS build failure caused by -Werror=undef
- Authentication-results: sourceware.org; auth=none
- References: <04dee4c5-a06d-447e-8174-ab39f52a4b48 at BAMAIL02 dot ba dot imgtec dot org> <alpine dot LFD dot 2 dot 11 dot 1502140537270 dot 11294 at eddie dot linux-mips dot org> <1424196067 dot 27855 dot 80 dot camel at ubuntu-sellcey> <alpine dot DEB dot 2 dot 10 dot 1502171808520 dot 19294 at digraph dot polyomino dot org dot uk> <alpine dot LFD dot 2 dot 11 dot 1502171929540 dot 1995 at eddie dot linux-mips dot org> <1424209035 dot 27855 dot 86 dot camel at ubuntu-sellcey>
The purpose of <bits/endian.h> is to define __BYTE_ORDER,
so a sanity check that it indeed does so is certainly fine.