* License.....: MIT
*/
-#ifdef OSX
+#ifdef DARWIN
#include <stdio.h>
#endif
}
#endif
-#ifdef OSX
+#ifdef DARWIN
static struct termios savemodes;
static int havemodes = 0;
const int len = GetModuleFileName (NULL, exec_path, exec_path_len - 1);
- #elif OSX
+ #elif DARWIN
uint size = exec_path_len;
myfree (buf);
}
-#ifdef OSX
+#ifdef DARWIN
int pthread_setaffinity_np (pthread_t thread, size_t cpu_size, cpu_set_t *cpu_set)
{
int core;
if ((d = opendir (tmp_path)) != NULL)
{
- #ifdef OSX
+ #ifdef DARWIN
struct dirent e;
for (;;) {