Module Name:    src
Committed By:   christos
Date:           Sat Feb 26 15:40:09 UTC 2022

Modified Files:
        src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
re-enable getrandom for the non-tools build (thanks martin)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/mit/expat/lib/libexpat/expat_config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/expat/lib/libexpat/expat_config.h
diff -u src/external/mit/expat/lib/libexpat/expat_config.h:1.12 src/external/mit/expat/lib/libexpat/expat_config.h:1.13
--- src/external/mit/expat/lib/libexpat/expat_config.h:1.12	Sat Feb 26 08:17:39 2022
+++ src/external/mit/expat/lib/libexpat/expat_config.h	Sat Feb 26 10:40:09 2022
@@ -23,8 +23,11 @@
 /* Define to 1 if you have the `getpagesize' function. */
 #define HAVE_GETPAGESIZE 1
 
+/* Host build might not have getrandom */
+#ifndef TOOL_FCCACHE
 /* Define to 1 if you have the `getrandom' function. */
-/* #define HAVE_GETRANDOM 1 */
+#define HAVE_GETRANDOM 1
+#endif
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1

Reply via email to