projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #392 from unix-ninja/master
[hashcat.git]
/
src
/
shared.c
diff --git
a/src/shared.c
b/src/shared.c
index
b10790c
..
2cc6d9f
100644
(file)
--- a/
src/shared.c
+++ b/
src/shared.c
@@
-6,7
+6,7
@@
* License.....: MIT
*/
* License.....: MIT
*/
-#ifdef OSX
+#ifdef DARWIN
#include <stdio.h>
#endif
#include <stdio.h>
#endif
@@
-2382,7
+2382,7
@@
int tty_fix()
}
#endif
}
#endif
-#ifdef OSX
+#ifdef DARWIN
static struct termios savemodes;
static int havemodes = 0;
static struct termios savemodes;
static int havemodes = 0;
@@
-4358,7
+4358,7
@@
char *get_exec_path ()
const int len = GetModuleFileName (NULL, exec_path, exec_path_len - 1);
const int len = GetModuleFileName (NULL, exec_path, exec_path_len - 1);
- #elif OSX
+ #elif DARWIN
uint size = exec_path_len;
uint size = exec_path_len;
@@
-4495,7
+4495,7
@@
void truecrypt_crc32 (const char *filename, u8 keytab[64])
myfree (buf);
}
myfree (buf);
}
-#ifdef OSX
+#ifdef DARWIN
int pthread_setaffinity_np (pthread_t thread, size_t cpu_size, cpu_set_t *cpu_set)
{
int core;
int pthread_setaffinity_np (pthread_t thread, size_t cpu_size, cpu_set_t *cpu_set)
{
int core;
@@
-5763,7
+5763,7
@@
char **scan_directory (const char *path)
if ((d = opendir (tmp_path)) != NULL)
{
if ((d = opendir (tmp_path)) != NULL)
{
- #ifdef OSX
+ #ifdef DARWIN
struct dirent e;
for (;;) {
struct dirent e;
for (;;) {