Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/b0ff563e05e7
branches:  netbsd-9
changeset: 963004:b0ff563e05e7
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 22 12:44:05 2019 +0000

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

        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 c56b17c81c41 -r b0ff563e05e7 external/mit/expat/lib/libexpat/expat_config.h
--- a/external/mit/expat/lib/libexpat/expat_config.h    Sun Sep 22 12:42:12 2019 +0000
+++ b/external/mit/expat/lib/libexpat/expat_config.h    Sun Sep 22 12:44:05 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