mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-06-02 07:10:29 -05:00
Use _WIN32 instead of USE_WIN32 for MinGW compatibility
This commit is contained in:
parent
a6c7c25dae
commit
829e770250
@ -4672,7 +4672,7 @@ static int main_configure(int argc, char **argv, GLOBAL_OPTIONS *options)
|
|||||||
}
|
}
|
||||||
options->p11module = *(++argv);
|
options->p11module = *(++argv);
|
||||||
#if OPENSSL_VERSION_NUMBER>=0x30000000L
|
#if OPENSSL_VERSION_NUMBER>=0x30000000L
|
||||||
#ifdef USE_WIN32
|
#ifdef _WIN32
|
||||||
if (_putenv_s("PKCS11_MODULE_PATH", options->p11module))
|
if (_putenv_s("PKCS11_MODULE_PATH", options->p11module))
|
||||||
#else
|
#else
|
||||||
if (setenv("PKCS11_MODULE_PATH", options->p11module, 1))
|
if (setenv("PKCS11_MODULE_PATH", options->p11module, 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user