darwin: do not use _XOPEN_SOURCE
[charm.git] / src / arch / netlrts-darwin-x86_64 / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_64BIT                                          1
5
6 #define CMK_NETPOLL                                        1
7
8 #define CMK_ASYNC_NOT_NEEDED                               0
9 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
10 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
11 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
12 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
13
14 #define CMK_GETPAGESIZE_AVAILABLE                          0
15
16 #define CMK_MALLOC_USE_GNU_MALLOC                          0
17 #define CMK_MALLOC_USE_OS_BUILTIN                          1
18 #define CMK_MALLOC_USE_GNUOLD_MALLOC                       0
19
20 #undef CMK_MEMORY_BUILD_GNU_HOOKS
21 #define CMK_MEMORY_BUILD_GNU_HOOKS                         0
22 #define CMK_MEMORY_PAGESIZE                                4096
23 #define CMK_MEMORY_PROTECTABLE                             0
24
25
26 #define CMK_SSH_IS_A_COMMAND                               1
27 #define CMK_SSH_NOT_NEEDED                                 0
28
29 #define CMK_SHARED_VARS_UNAVAILABLE                        1
30 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
31 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  0
32
33 #define CMK_THREADS_USE_PTHREADS                           0
34 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
35 #define CMK_THREADS_USE_CONTEXT                            0
36 #define CMK_THREADS_USE_JCONTEXT                           1
37
38 #define CMK_SIGNAL_NOT_NEEDED                              0
39 #define CMK_SIGNAL_USE_SIGACTION                           0
40 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
41
42 #define CMK_THREADS_REQUIRE_NO_CPV                         0
43 #define CMK_THREADS_COPY_STACK                             0
44
45 #define CMK_TIMER_USE_GETRUSAGE                            1
46 #define CMK_TIMER_USE_SPECIAL                              0
47 #define CMK_TIMER_USE_TIMES                                0
48
49
50 #define CMK_DEBUG_MODE                                     0
51 #define CMK_WEB_MODE                                       1
52
53 #define CMK_LBDB_ON                                        1
54
55 #define CMK_STACKSIZE_DEFAULT                              262144
56 /*
57 #define CMK_NO_ISO_MALLOC                                  1
58 */
59
60
61 /* Mac-specific optimizations */
62 #undef CMK_USE_POLL
63 #define CMK_USE_POLL                                       0
64 #define CMK_USE_KQUEUE                                     1
65 #define PXSHM_OSSPINLOCK                                   1
66 #define PXSHM_LOCK                                         0
67 #define PXSHM_FENCE                                        0
68
69
70 #endif
71