Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user