1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 16:38:29 +00:00
__x86__ is not defined under 32-bit MinGW. But WIN32 is. WIN64 for consistency.
This commit is contained in:
neheb 2016-08-27 17:45:56 -07:00 committed by GitHub
parent b57235f016
commit 242e1c49d8

View File

@ -14,9 +14,9 @@ int nvapi_init (NVAPI_PTR *nvapi)
memset (nvapi, 0, sizeof (NVAPI_PTR)); memset (nvapi, 0, sizeof (NVAPI_PTR));
#ifdef _WIN #ifdef _WIN
#if defined(__x86_64__) #if defined(WIN64)
nvapi->lib = hc_dlopen ("nvapi64.dll"); nvapi->lib = hc_dlopen ("nvapi64.dll");
#elif defined(__x86__) #elif defined(WIN32)
nvapi->lib = hc_dlopen ("nvapi.dll"); nvapi->lib = hc_dlopen ("nvapi.dll");
#endif #endif
#else #else