Cleanup #658: Update old references to rsh in code to ssh. Refactoring from rsh to...
[charm.git] / src / arch / net-darwin-x86_64 / conv-mach.h
blobf8f6bdef2e61baa9cb5cb6ab5e2b29c5576c31aa
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
4 // specify the version of the UNIX APIs that we want to use (for ucontext headers)
5 #define _XOPEN_SOURCE
7 #define CMK_64BIT 1
9 #define CMK_NETPOLL 1
11 #define CMK_ASYNC_NOT_NEEDED 0
12 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN 0
13 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP 0
14 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN 0
15 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN 1
17 #define CMK_GETPAGESIZE_AVAILABLE 0
19 #define CMK_MALLOC_USE_GNU_MALLOC 0
20 #define CMK_MALLOC_USE_OS_BUILTIN 1
21 #define CMK_MALLOC_USE_GNUOLD_MALLOC 0
23 #define CMK_MEMORY_BUILD_GNU_HOOKS 0
24 #define CMK_MEMORY_PAGESIZE 4096
25 #define CMK_MEMORY_PROTECTABLE 0
28 #define CMK_SSH_IS_A_COMMAND 1
29 #define CMK_SSH_NOT_NEEDED 0
31 #define CMK_SHARED_VARS_UNAVAILABLE 1
32 #define CMK_SHARED_VARS_UNIPROCESSOR 0
33 #define CMK_SHARED_VARS_POSIX_THREADS_SMP 0
35 #define CMK_THREADS_USE_PTHREADS 0
36 #define CMK_THREADS_ARE_WIN32_FIBERS 0
37 #define CMK_THREADS_USE_CONTEXT 0
38 #define CMK_THREADS_USE_JCONTEXT 1
40 #define CMK_SIGNAL_NOT_NEEDED 0
41 #define CMK_SIGNAL_USE_SIGACTION 0
42 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART 1
44 #define CMK_THREADS_REQUIRE_NO_CPV 0
45 #define CMK_THREADS_COPY_STACK 0
47 #define CMK_TIMER_USE_GETRUSAGE 1
48 #define CMK_TIMER_USE_SPECIAL 0
49 #define CMK_TIMER_USE_TIMES 0
52 #define CMK_DEBUG_MODE 0
53 #define CMK_WEB_MODE 1
55 #define CMK_LBDB_ON 1
57 #define CMK_STACKSIZE_DEFAULT 262144
59 #define CMK_NO_ISO_MALLOC 1
63 /* Mac-specific optimizations */
64 #undef CMK_USE_POLL
65 #define CMK_USE_POLL 0
66 #define CMK_USE_KQUEUE 1
67 #define PXSHM_OSSPINLOCK 1
68 #define PXSHM_LOCK 0
69 #define PXSHM_FENCE 0
72 #endif