Source-Changes-HG archive

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

[src/trunk]: src/external/mit/expat/lib/libexpat Do not assume we have a SYS_...



details:   https://anonhg.NetBSD.org/src/rev/922a89c71a77
branches:  trunk
changeset: 362055:922a89c71a77
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 27 12:27:22 2022 +0000

description:
Do not assume we have a SYS_getrandom for the tools build.

diffstat:

 external/mit/expat/lib/libexpat/expat_config.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 23c6dac806de -r 922a89c71a77 external/mit/expat/lib/libexpat/expat_config.h
--- a/external/mit/expat/lib/libexpat/expat_config.h    Sun Feb 27 12:00:27 2022 +0000
+++ b/external/mit/expat/lib/libexpat/expat_config.h    Sun Feb 27 12:27:22 2022 +0000
@@ -55,8 +55,10 @@
 /* Define to 1 if you have the <string.h> header file. */
 #define HAVE_STRING_H 1
 
+#ifndef TOOL_FCCACHE
 /* Define to 1 if you have `syscall' and `SYS_getrandom'. */
 #define HAVE_SYSCALL_GETRANDOM 1
+#endif
 
 /* Define to 1 if you have the <sys/param.h> header file. */
 #define HAVE_SYS_PARAM_H 1



Home | Main Index | Thread Index | Old Index