config.mak.uname: add arc4random to the cygwin build

The arc4random_buf() function has been available in cygwin since about 2016 (somewhere in the v2.x branch). Set the CSPRNG_METHOD build variable to 'arc4random', in the cygwin section, to enable the use of this cryptographically-secure pseudorandom number function. Note that the autoconf and new meson builds also enable this function. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Apr 17, 2025 at 00:18 UTC 70ef34c8d8001e677a346666f32040adfa90e89c
1 file changed +1
config.mak.uname
+1
@@ -254,6 +254,7 @@ ifeq ($(uname_O),Cygwin)
254 HAVE_CLOCK_GETTIME = YesPlease
255 HAVE_CLOCK_MONOTONIC = YesPlease
256 HAVE_SYSINFO = YesPlease
257 + CSPRNG_METHOD = arc4random
258 HAVE_ALLOCA_H = YesPlease
259 NEEDS_LIBICONV = YesPlease
260 NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes