mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Fix for #473
__x86__ is not defined under 32-bit MinGW. But WIN32 is. WIN64 for consistency.
This commit is contained in:
parent
b57235f016
commit
242e1c49d8
@ -14,9 +14,9 @@ int nvapi_init (NVAPI_PTR *nvapi)
|
||||
memset (nvapi, 0, sizeof (NVAPI_PTR));
|
||||
|
||||
#ifdef _WIN
|
||||
#if defined(__x86_64__)
|
||||
#if defined(WIN64)
|
||||
nvapi->lib = hc_dlopen ("nvapi64.dll");
|
||||
#elif defined(__x86__)
|
||||
#elif defined(WIN32)
|
||||
nvapi->lib = hc_dlopen ("nvapi.dll");
|
||||
#endif
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user