From Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>:
Jessica Hamilton has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/1526
Change subject: sys/types: include endian.h, and fix endian definitions.
......................................................................
sys/types: include endian.h, and fix endian definitions.
* Defining LITTLE/BIG_ENDIAN as 0 breaks some feature test macros,
particularly in autoconf. Checking with FreeBSD, their macros
define a non-zero value as well.
References:
- https://github.com/freebsd/freebsd/blob/master/sys/x86/include/endian.h
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4#n1584
---
M headers/posix/endian.h
M headers/posix/sys/types.h
2 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/26/1526/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1526
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I61b0bbad74e2bf5248464a5c15e504b9f45bea7f
Gerrit-Change-Number: 1526
Gerrit-PatchSet: 1
Gerrit-Owner: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Gerrit-MessageType: newchange