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