projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor OSX preprocessor constants to read 'DARWIN'
[hashcat.git]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index
7bdef11
..
0b670bc
100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-43,7
+43,7
@@
#include <termio.h>
#endif
#include <termio.h>
#endif
-#ifdef OSX
+#ifdef DARWIN
#include <termios.h>
#include <sys/ioctl.h>
#include <mach-o/dyld.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <mach-o/dyld.h>
@@
-58,7
+58,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 OSX
+#ifdef DARWIN
#define __stdcall
#endif
#endif
#define __stdcall
#endif
#endif