From bcced6c4f6a79e09ed3961632b2faf81fe873137 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Wed, 27 Nov 2024 12:01:18 +0100 Subject: Fix attempts to detect Windows using _WIN32 --- 3rd_party/libsrp6a-sha512/t_truerand.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '3rd_party/libsrp6a-sha512/t_truerand.c') diff --git a/3rd_party/libsrp6a-sha512/t_truerand.c b/3rd_party/libsrp6a-sha512/t_truerand.c index f995ed7..cd27d0d 100644 --- a/3rd_party/libsrp6a-sha512/t_truerand.c +++ b/3rd_party/libsrp6a-sha512/t_truerand.c @@ -54,7 +54,7 @@ #include "t_defines.h" -#ifdef WIN32 +#ifdef _WIN32 # ifdef CRYPTOLIB @@ -69,7 +69,7 @@ raw_truerand() return truerand(); } -# else /* !CRYPTOLIB && WIN32 */ +# else /* !CRYPTOLIB && _WIN32 */ #include #include @@ -128,7 +128,7 @@ raw_truerand() { # endif /* CRYPTOLIB */ -#else /* !WIN32 */ +#else /* !_WIN32 */ #include #include @@ -238,4 +238,4 @@ raw_n_truerand(int n) return v % n; } -#endif /* !CRYPTOLIB || !WIN32 */ +#endif /* !CRYPTOLIB || !_WIN32 */ -- cgit v1.1-32-gdbae