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/f36d5fc6c135
branches:  netbsd-9
changeset: 458379:f36d5fc6c135
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 1e3e12b0f1ec -r f36d5fc6c135 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