mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Added fix for Visual Studio compiler in C mode
This commit is contained in:
parent
8dcb587e44
commit
b17d00d873
@ -72,6 +72,15 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
/* The C++ standard denies redefinition of keywords,
|
||||
but this is nededed for VS compiler which doesn't have inline keyword but has __inline
|
||||
*/
|
||||
#ifndef __cplusplus
|
||||
#if defined (_MSC_VER)
|
||||
#define inline __inline
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (_WIN)
|
||||
#define EOL "\r\n"
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user