1
0
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:
jsteube 2016-10-01 13:42:40 +02:00
parent 8dcb587e44
commit b17d00d873

View File

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