Use _WIN32 instead of USE_WIN32 for MinGW compatibility

This commit is contained in:
olszomal 2025-05-22 10:00:46 +02:00 committed by Michał Trojnara
parent a6c7c25dae
commit 829e770250

View File

@ -4672,7 +4672,7 @@ static int main_configure(int argc, char **argv, GLOBAL_OPTIONS *options)
}
options->p11module = *(++argv);
#if OPENSSL_VERSION_NUMBER>=0x30000000L
#ifdef USE_WIN32
#ifdef _WIN32
if (_putenv_s("PKCS11_MODULE_PATH", options->p11module))
#else
if (setenv("PKCS11_MODULE_PATH", options->p11module, 1))