projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace DARWIN macro with __APPLE__
[hashcat.git]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index
ff9cd4a
..
91cb370
100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-45,7
+45,7
@@
#include <sys/ioctl.h>
#endif
#include <sys/ioctl.h>
#endif
-#ifdef DARWIN
+#ifdef __APPLE__
#include <termios.h>
#include <sys/ioctl.h>
#include <mach-o/dyld.h>
#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;
typedef void *NVAPI_LIB;
typedef void *NVML_LIB;
typedef void *XNVCTRL_LIB;
-#ifdef DARWIN
+#ifdef __APPLE__
#define __stdcall
#endif
#endif
#define __stdcall
#endif
#endif