aboutsummaryrefslogtreecommitdiff
path: root/lib/libexpat/expat_config.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2019-11-25 07:48:16 +0000
committerXin LI <delphij@FreeBSD.org>2019-11-25 07:48:16 +0000
commit6b2c1e49da284f28ec7b52f7c031474087e37104 (patch)
tree1c6eabb549a0be6167f4f25f3e388afa0f730197 /lib/libexpat/expat_config.h
parent6a14746c01a91a9f33f67d79565d01d96a879a3a (diff)
parent987ba809b8add6260181a8c036ec3c017948ff56 (diff)
downloadsrc-6b2c1e49da284f28ec7b52f7c031474087e37104.tar.gz
src-6b2c1e49da284f28ec7b52f7c031474087e37104.zip
MFV r355071: libbsdxml (expat) 2.2.9.
MFC after: 2 weeks Relnotes: yes
Notes
Notes: svn path=/head/; revision=355085
Diffstat (limited to 'lib/libexpat/expat_config.h')
-rw-r--r--lib/libexpat/expat_config.h36
1 files changed, 21 insertions, 15 deletions
diff --git a/lib/libexpat/expat_config.h b/lib/libexpat/expat_config.h
index d335df9f776d..d4cb92cafdb5 100644
--- a/lib/libexpat/expat_config.h
+++ b/lib/libexpat/expat_config.h
@@ -5,7 +5,10 @@
#include <machine/endian.h>
-/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* 1234 = LILENDIAN, 4321 = BIGENDIAN */
#if BYTE_ORDER == LITTLE_ENDIAN
#define BYTEORDER 1234
#else
@@ -18,9 +21,6 @@
/* Define to 1 if you have the `arc4random_buf' function. */
#define HAVE_ARC4RANDOM_BUF 1
-/* Define to 1 if you have the `bcopy' function. */
-#define HAVE_BCOPY 1
-
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
@@ -39,9 +39,6 @@
/* Define to 1 if you have the `bsd' library (-lbsd). */
/* #undef HAVE_LIBBSD */
-/* Define to 1 if you have the `memmove' function. */
-#define HAVE_MEMMOVE 1
-
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
@@ -88,7 +85,7 @@
#define PACKAGE_NAME "expat"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "expat 2.2.6"
+#define PACKAGE_STRING "expat 2.2.9"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "expat"
@@ -97,21 +94,30 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.2.6"
+#define PACKAGE_VERSION "2.2.9"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "2.2.6"
-
-/* whether byteorder is bigendian */
-#if BYTE_ORDER == BIG_ENDIAN
-#define WORDS_BIGENDIAN
+#define VERSION "2.2.9"
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
#else
-#undef WORDS_BIGENDIAN
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
#endif
+/* Define to allow retrieving the byte offsets for attribute names and values.
+ */
+/* #undef XML_ATTR_INFO */
+
/* Define to specify how much context to retain around the current parse
point. */
#define XML_CONTEXT_BYTES 1024