mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Fix clang compile under MSYS2
Clang does not define __WINNT__ under Windows. _WIN32 is the closest thing.
This commit is contained in:
parent
127deee8ed
commit
1fe16d3ee6
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#if defined (__unix__) || defined (__APPLE__)
|
#if defined (__unix__) || defined (__APPLE__)
|
||||||
#define _POSIX
|
#define _POSIX
|
||||||
#elif defined (__WINNT__)
|
#elif defined (_WIN32)
|
||||||
#define _WIN 1
|
#define _WIN 1
|
||||||
#else
|
#else
|
||||||
#error Your Operating System is not supported or detected
|
#error Your Operating System is not supported or detected
|
||||||
|
Loading…
Reference in New Issue
Block a user