You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
Index: expat/expat_config.h
|
|
===================================================================
|
|
--- expat.orig/expat_config.h
|
|
+++ expat/expat_config.h
|
|
@@ -8,10 +8,14 @@
|
|
#define BYTEORDER 1234
|
|
|
|
/* Define to 1 if you have the `arc4random' function. */
|
|
-/* #undef HAVE_ARC4RANDOM */
|
|
+#if defined(__APPLE__) || defined(__BIONIC__)
|
|
+#define HAVE_ARC4RANDOM 1
|
|
+#endif
|
|
|
|
/* Define to 1 if you have the `arc4random_buf' function. */
|
|
-/* #undef HAVE_ARC4RANDOM_BUF */
|
|
+#if defined(__APPLE__) || defined(__BIONIC__)
|
|
+#define HAVE_ARC4RANDOM_BUF 1
|
|
+#endif
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#define HAVE_DLFCN_H 1
|
|
@@ -23,7 +27,9 @@
|
|
#define HAVE_GETPAGESIZE 1
|
|
|
|
/* Define to 1 if you have the `getrandom' function. */
|
|
+#if defined(__BIONIC__)
|
|
#define HAVE_GETRANDOM 1
|
|
+#endif
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
@@ -115,7 +121,9 @@
|
|
#define XML_CONTEXT_BYTES 1024
|
|
|
|
/* Define to include code reading entropy from `/dev/urandom'. */
|
|
+#if defined(__GLIBC__)
|
|
#define XML_DEV_URANDOM 1
|
|
+#endif
|
|
|
|
/* Define to make parameter entity parsing functionality available. */
|
|
#define XML_DTD 1
|