rename WIN32 to _WIN32

The latter is the proper macro defined by Windows headers.

Fixes compilation under at least clang-cl which mandates function
declarations.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2023-09-13 20:51:49 -07:00
parent dabed80523
commit 66f7869219
5 changed files with 14 additions and 14 deletions

View File

@@ -254,7 +254,7 @@ static int get_dev_random_seed(int *seed)
/* get_cryptgenrandom_seed */
#ifdef WIN32
#ifdef _WIN32
#define HAVE_CRYPTGENRANDOM 1