Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/expat/lib/libexpat Actually define BYTEORDER si...



details:   https://anonhg.NetBSD.org/src/rev/4e287bb5fa92
branches:  trunk
changeset: 454560:4e287bb5fa92
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Sep 21 15:56:09 2019 +0000

description:
Actually define BYTEORDER since it is used.

diffstat:

 external/mit/expat/lib/libexpat/expat_config.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 2fba5f91b957 -r 4e287bb5fa92 external/mit/expat/lib/libexpat/expat_config.h
--- a/external/mit/expat/lib/libexpat/expat_config.h    Sat Sep 21 14:25:42 2019 +0000
+++ b/external/mit/expat/lib/libexpat/expat_config.h    Sat Sep 21 15:56:09 2019 +0000
@@ -4,6 +4,10 @@
 /* Define if building universal (internal helper macro) */
 /* #undef AC_APPLE_UNIVERSAL_BUILD */
 
+/* 1234 = LILENDIAN, 4321 = BIGENDIAN */
+#include <endian.h>
+#define BYTEORDER _BYTE_ORDER
+
 /* Define to 1 if you have the `arc4random' function. */
 /* #undef HAVE_ARC4RANDOM */
 



Home | Main Index | Thread Index | Old Index