diff --git a/vendor/bcrypt/bcrypt.c b/vendor/bcrypt/bcrypt.c index 4f95bda..0223587 100644 --- a/vendor/bcrypt/bcrypt.c +++ b/vendor/bcrypt/bcrypt.c @@ -22,13 +22,14 @@ #endif #include -#if defined(_WIN32) || defined(_WIN64) -// On windows we need to generate random bytes differently. #if defined(_WIN32) && !defined(_WIN64) typedef __int32 ssize_t; #elif defined(_WIN32) && defined(_WIN64) typedef __int64 ssize_t; #endif + +#if defined(_WIN32) || defined(_WIN64) +// On windows we need to generate random bytes differently. #define BCRYPT_HASHSIZE 60 #include "bcrypt.h"