mirror of
https://github.com/hashcat/hashcat.git
synced 2025-03-13 22:16:14 +00:00
Define NOMINMAX macro to prevent definition min and max macros in stdlib header files
This commit is contained in:
parent
339367a8d3
commit
8dcb587e44
@ -54,11 +54,15 @@
|
||||
|
||||
#define CEIL(a) ((a - (int) (a)) > 0 ? a + 1 : a)
|
||||
|
||||
#define NOMINMAX 1
|
||||
|
||||
#if defined (__APPLE__)
|
||||
#define __stdcall
|
||||
#endif
|
||||
|
||||
#if defined (_WIN32) || defined (__WIN32__) || defined (__CYGWIN__)
|
||||
#if defined (__MSC_VER)
|
||||
#define HC_API_CALL __cdecl
|
||||
#elif defined (_WIN32) || defined (__WIN32__) || defined (__CYGWIN__)
|
||||
#define HC_API_CALL __stdcall
|
||||
#else
|
||||
#define HC_API_CALL
|
||||
|
Loading…
Reference in New Issue
Block a user