summaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/config-linux.h
diff options
context:
space:
mode:
authoreninng <[email protected]>2022-05-13 12:02:40 +0300
committereninng <[email protected]>2022-05-13 12:02:40 +0300
commitdcd3e269e3c79fdedc5fc7f79f4a6e5440765084 (patch)
tree9bd3795025d31007759d1b2e401659e194c2353c /contrib/libs/libxml/config-linux.h
parent647fde571299faf9f74c7682c660a9c4795f3318 (diff)
[libxml] Get rid of utilRandom dependency. Add NO_RUNTIME if util is unused
- Return native libxml random implementation. - Use thread_local instead of mutex if rand_r is used - Add NO_RUNTIME if util is unused Task: SK-6086 ref:aae9538109bc91f0eb832032ff6431325d0ad5e9
Diffstat (limited to 'contrib/libs/libxml/config-linux.h')
-rw-r--r--contrib/libs/libxml/config-linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libs/libxml/config-linux.h b/contrib/libs/libxml/config-linux.h
index 04bc93369ee..aff6e0033fb 100644
--- a/contrib/libs/libxml/config-linux.h
+++ b/contrib/libs/libxml/config-linux.h
@@ -78,7 +78,7 @@
/* #undef HAVE_LZMA_H */
/* Define to 1 if you have the <malloc.h> header file. */
-// #define HAVE_MALLOC_H 1
+#define HAVE_MALLOC_H 1
/* Define to 1 if you have the <math.h> header file. */
#define HAVE_MATH_H 1
@@ -118,6 +118,9 @@
/* Define to 1 if you have the `rand' function. */
#define HAVE_RAND 1
+/* Define to 1 if you have the `rand_r' function. */
+#define HAVE_RAND_R 1
+
/* Define to 1 if you have the <resolv.h> header file. */
#define HAVE_RESOLV_H 1