mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-17 01:52:06 +00:00
commit
14883bcd53
@ -45,13 +45,13 @@ typedef struct AdapterInfo
|
|||||||
char strDisplayName[ADL_MAX_PATH];
|
char strDisplayName[ADL_MAX_PATH];
|
||||||
int iPresent;
|
int iPresent;
|
||||||
|
|
||||||
#if defined (_WIN32) || defined (_WIN64)
|
#if defined (_WIN32) || defined (_WIN64) || defined (__CYGWIN__)
|
||||||
int iExist;
|
int iExist;
|
||||||
char strDriverPath[ADL_MAX_PATH];
|
char strDriverPath[ADL_MAX_PATH];
|
||||||
char strDriverPathExt[ADL_MAX_PATH];
|
char strDriverPathExt[ADL_MAX_PATH];
|
||||||
char strPNPString[ADL_MAX_PATH];
|
char strPNPString[ADL_MAX_PATH];
|
||||||
int iOSDisplayIndex;
|
int iOSDisplayIndex;
|
||||||
#endif /* (_WIN32) || (_WIN64) */
|
#endif /* (_WIN32) || (_WIN64) || (__CYGWIN__) */
|
||||||
|
|
||||||
#if defined (__linux__)
|
#if defined (__linux__)
|
||||||
int iXScreenNum;
|
int iXScreenNum;
|
||||||
|
@ -1773,6 +1773,13 @@ static int adl_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
{
|
{
|
||||||
adl->lib = hc_dlopen ("atiadlxy.dll");
|
adl->lib = hc_dlopen ("atiadlxy.dll");
|
||||||
}
|
}
|
||||||
|
#elif defined (__CYGWIN__)
|
||||||
|
adl->lib = hc_dlopen ("atiadlxx.dll", RTLD_NOW);
|
||||||
|
|
||||||
|
if (!adl->lib)
|
||||||
|
{
|
||||||
|
adl->lib = hc_dlopen ("atiadlxy.dll", RTLD_NOW);
|
||||||
|
}
|
||||||
#elif defined (_POSIX)
|
#elif defined (_POSIX)
|
||||||
adl->lib = hc_dlopen ("libatiadlxx.so", RTLD_NOW);
|
adl->lib = hc_dlopen ("libatiadlxx.so", RTLD_NOW);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user