Add --mangle switch for mangling password before hashing
[hashcat.git] / include / common.h
index ff9cd4a..c36a3e0 100644 (file)
 #include <pwd.h>
 #include <limits.h>
 
-#ifdef LINUX
+#ifdef __linux__
 #include <termios.h>
 #include <sys/ioctl.h>
 #endif
 
-#ifdef DARWIN
+#ifdef __APPLE__
 #include <termios.h>
 #include <sys/ioctl.h>
 #include <mach-o/dyld.h>
@@ -64,7 +64,7 @@ typedef void *ADL_LIB;
 typedef void *NVAPI_LIB;
 typedef void *NVML_LIB;
 typedef void *XNVCTRL_LIB;
-#ifdef DARWIN
+#ifdef __APPLE__
 #define __stdcall
 #endif
 #endif