fix gnu compilation error on Blue Gene/Q
[charm.git] / src / arch / elan-linux / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_DLL_CC  "g++ -shared -O3 -o "
5
6 #define CMK_GETPAGESIZE_AVAILABLE                          0
7
8 #define CMK_MALLOC_USE_GNU_MALLOC                          1
9 #define CMK_MALLOC_USE_OS_BUILTIN                          0
10
11 #define CMK_MEMORY_PAGESIZE                                8192
12 #define CMK_MEMORY_PROTECTABLE                             1
13
14 #define CMK_NODE_QUEUE_AVAILABLE                           0
15
16 #define CMK_SHARED_VARS_UNAVAILABLE                        1
17 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
18
19 #define CMK_THREADS_USE_CONTEXT                            0
20 #define CMK_THREADS_USE_PTHREADS                           0
21 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
22
23 #define CMK_SIGNAL_NOT_NEEDED                              1
24 #define CMK_SIGNAL_USE_SIGACTION                           0
25 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
26
27 #define CMK_THREADS_REQUIRE_NO_CPV                         0
28 #define CMK_THREADS_COPY_STACK                             0
29
30 #define CMK_TIMER_USE_RDTSC                                1
31 #define CMK_TIMER_USE_GETRUSAGE                            0
32 #define CMK_TIMER_USE_SPECIAL                              0
33 #define CMK_TIMER_USE_TIMES                                0
34
35 #define CMK_TYPEDEF_INT2 short
36 #define CMK_TYPEDEF_INT4 int
37 #define CMK_TYPEDEF_INT8 long long
38 #define CMK_TYPEDEF_UINT2 unsigned short
39 #define CMK_TYPEDEF_UINT4 unsigned int
40 #define CMK_TYPEDEF_UINT8 unsigned long long
41 #define CMK_TYPEDEF_FLOAT4 float
42 #define CMK_TYPEDEF_FLOAT8 double
43
44 #define CMK_NETPOLL                                        1
45
46 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
47 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
48
49 #define CMK_DEBUG_MODE                                     0 
50 #define CMK_WEB_MODE                                       1
51
52 #define CMK_LBDB_ON                                        1
53
54 #endif
55