Source-Changes-HG archive

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

[src/netbsd-8]: src/external/mit/expat/lib/libexpat Pull up following revisio...



details:   https://anonhg.NetBSD.org/src/rev/9ae46e27e408
branches:  netbsd-8
changeset: 454618:9ae46e27e408
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 23 06:56:57 2019 +0000

description:
Pull up following revision(s) (requested by maya in ticket #1384):

        external/mit/expat/lib/libexpat/expat_config.h: revision 1.7

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 81c88f8103b7 -r 9ae46e27e408 external/mit/expat/lib/libexpat/expat_config.h
--- a/external/mit/expat/lib/libexpat/expat_config.h    Mon Sep 23 06:52:21 2019 +0000
+++ b/external/mit/expat/lib/libexpat/expat_config.h    Mon Sep 23 06:56:57 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