Replace DARWIN macro with __APPLE__

As discussed on https://github.com/hashcat/hashcat/pull/409
This commit is contained in:
jsteube
2016-07-08 23:14:57 +02:00
parent 2043338859
commit 96f2ade4bb
8 changed files with 25 additions and 13 deletions
+2 -2
View File
@@ -45,7 +45,7 @@
#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