1
0
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:
Rosen Penev 2017-11-04 23:50:00 -07:00 committed by GitHub
parent 127deee8ed
commit 1fe16d3ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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