PageRenderTime 34ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/platform/shared/ruby/iphone/ruby/config.h

https://github.com/openhealth/rhodes
C Header | 248 lines | 245 code | 3 blank | 0 comment | 0 complexity | 63b22a7742a5ca456215efda6686bba6 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0
  1. #define PACKAGE_NAME ""
  2. #define PACKAGE_TARNAME ""
  3. #define PACKAGE_VERSION ""
  4. #define PACKAGE_STRING ""
  5. #define PACKAGE_BUGREPORT ""
  6. #define USE_BUILTIN_FRAME_ADDRESS 1
  7. #define _GNU_SOURCE 1
  8. #define STDC_HEADERS 1
  9. #define HAVE_SYS_TYPES_H 1
  10. #define HAVE_SYS_STAT_H 1
  11. #define HAVE_STDLIB_H 1
  12. #define HAVE_STRING_H 1
  13. #define HAVE_MEMORY_H 1
  14. #define HAVE_STRINGS_H 1
  15. #define HAVE_INTTYPES_H 1
  16. #define HAVE_STDINT_H 1
  17. #define HAVE_UNISTD_H 1
  18. #define __EXTENSIONS__ 1
  19. #define _POSIX_PTHREAD_SEMANTICS 1
  20. #define _TANDEM_SOURCE 1
  21. #define HAVE_LONG_LONG 1
  22. #define HAVE_OFF_T 1
  23. #define SIZEOF_INT 4
  24. #define SIZEOF_SHORT 2
  25. #define SIZEOF_LONG 4
  26. #define SIZEOF_LONG_LONG 8
  27. #define SIZEOF___INT64 0
  28. #define SIZEOF_OFF_T 8
  29. #define SIZEOF_VOIDP 4
  30. #define SIZEOF_FLOAT 4
  31. #define SIZEOF_DOUBLE 8
  32. #define SIZEOF_TIME_T 4
  33. #define rb_pid_t pid_t
  34. #define PIDT2NUM(v) LONG2NUM(v)
  35. #define NUM2PIDT(v) NUM2LONG(v)
  36. #define rb_uid_t uid_t
  37. #define UIDT2NUM(v) ULONG2NUM(v)
  38. #define NUM2UIDT(v) NUM2ULONG(v)
  39. #define rb_gid_t gid_t
  40. #define GIDT2NUM(v) ULONG2NUM(v)
  41. #define NUM2GIDT(v) NUM2ULONG(v)
  42. #define HAVE_PROTOTYPES 1
  43. #define TOKEN_PASTE(x,y) x##y
  44. #define STRINGIZE(expr) STRINGIZE0(expr)
  45. #define HAVE_STDARG_PROTOTYPES 1
  46. #define HAVE_VA_ARGS_MACRO 1
  47. #define NORETURN(x) __attribute__ ((noreturn)) x
  48. #define DEPRECATED(x) __attribute__ ((deprecated)) x
  49. #define NOINLINE(x) __attribute__ ((noinline)) x
  50. #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
  51. #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
  52. #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
  53. #define RUBY_ALIAS_FUNCTION(old_prot, new_name, args) VALUE old_prot {return new_name args;}
  54. #define HAVE_DECL_SYS_NERR 1
  55. #define BROKEN_CRYPT 1
  56. #define HAVE_LIBDL 1
  57. #define HAVE_DIRENT_H 1
  58. #define STDC_HEADERS 1
  59. #define HAVE_SYS_WAIT_H 1
  60. #define HAVE_STDLIB_H 1
  61. #define HAVE_STRING_H 1
  62. #define HAVE_UNISTD_H 1
  63. #define HAVE_LIMITS_H 1
  64. #define HAVE_SYS_FILE_H 1
  65. #define HAVE_SYS_IOCTL_H 1
  66. #define HAVE_SYS_SYSCALL_H 1
  67. #define HAVE_FCNTL_H 1
  68. #define HAVE_SYS_FCNTL_H 1
  69. #define HAVE_SYS_SELECT_H 1
  70. #define HAVE_SYS_TIME_H 1
  71. #define HAVE_SYS_TIMES_H 1
  72. #define HAVE_SYS_PARAM_H 1
  73. #define HAVE_PWD_H 1
  74. #define HAVE_GRP_H 1
  75. #define HAVE_UTIME_H 1
  76. #define HAVE_MEMORY_H 1
  77. #define HAVE_SYS_RESOURCE_H 1
  78. #define HAVE_NETINET_IN_SYSTM_H 1
  79. #define HAVE_FLOAT_H 1
  80. #define HAVE_PTHREAD_H 1
  81. #define HAVE_UCONTEXT_H 1
  82. #define HAVE_LANGINFO_H 1
  83. #define HAVE_LOCALE_H 1
  84. #define HAVE_TIME_H 1
  85. #define HAVE_SYS_SOCKET_H 1
  86. #define SIZEOF_RLIM_T 8
  87. #define SIZEOF_SIZE_T 4
  88. #define SIZEOF_PTRDIFF_T 4
  89. #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  90. #define HAVE_ST_BLKSIZE 1
  91. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  92. #define HAVE_ST_BLOCKS 1
  93. #define HAVE_STRUCT_STAT_ST_RDEV 1
  94. #define HAVE_ST_RDEV 1
  95. #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
  96. #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
  97. #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
  98. #define HAVE_STRUCT_TIMESPEC 1
  99. #define HAVE_RB_FD_INIT 1
  100. #define HAVE_INT8_T 1
  101. #define HAVE_UINT8_T 1
  102. #define HAVE_INT16_T 1
  103. #define HAVE_UINT16_T 1
  104. #define HAVE_INT32_T 1
  105. #define HAVE_UINT32_T 1
  106. #define HAVE_INT64_T 1
  107. #define HAVE_UINT64_T 1
  108. #define HAVE_INTPTR_T 1
  109. #define HAVE_UINTPTR_T 1
  110. #define HAVE_SSIZE_T 1
  111. #define GETGROUPS_T gid_t
  112. #define RETSIGTYPE void
  113. #define HAVE_ALLOCA_H 1
  114. #define HAVE_ALLOCA 1
  115. #define HAVE_DUP2 1
  116. #define HAVE_MEMMOVE 1
  117. #define HAVE_STRERROR 1
  118. #define HAVE_STRCHR 1
  119. #define HAVE_STRSTR 1
  120. #define HAVE_CRYPT 1
  121. #define HAVE_FLOCK 1
  122. #define HAVE_VSNPRINTF 1
  123. #define HAVE_ISNAN 1
  124. #define HAVE_FINITE 0
  125. #define HAVE_ISINF 1
  126. #define HAVE_HYPOT 1
  127. #define HAVE_ACOSH 1
  128. #define HAVE_ERF 1
  129. #define HAVE_TGAMMA 1
  130. #define HAVE_CBRT 1
  131. #define HAVE_STRLCPY 1
  132. #define HAVE_STRLCAT 1
  133. #define HAVE_FMOD 1
  134. #define HAVE_KILLPG 1
  135. #define HAVE_WAIT4 1
  136. #define HAVE_WAITPID 1
  137. #define HAVE_FORK 1
  138. #define HAVE_SYSCALL 1
  139. #define HAVE_CHROOT 1
  140. #define HAVE_FSYNC 1
  141. #define HAVE_GETCWD 1
  142. #define HAVE_TRUNCATE 1
  143. #define HAVE_FTRUNCATE 1
  144. #define HAVE_TIMES 1
  145. #define HAVE_UTIMES 1
  146. #define HAVE_FCNTL 1
  147. #define HAVE_LOCKF 1
  148. #define HAVE_LSTAT 1
  149. #define HAVE_LINK 1
  150. #define HAVE_SYMLINK 1
  151. #define HAVE_READLINK 1
  152. #define HAVE_SETITIMER 1
  153. #define HAVE_SETRUID 1
  154. #define HAVE_SETEUID 1
  155. #define HAVE_SETREUID 1
  156. #define HAVE_SOCKETPAIR 1
  157. #define HAVE_SETRGID 1
  158. #define HAVE_SETEGID 1
  159. #define HAVE_SETREGID 1
  160. #define HAVE_ISSETUGID 1
  161. #define HAVE_PAUSE 1
  162. #define HAVE_LCHOWN 1
  163. #define HAVE_LCHMOD 1
  164. #define HAVE_GETPGRP 1
  165. #define HAVE_SETPGRP 1
  166. #define HAVE_GETPGID 1
  167. #define HAVE_SETPGID 1
  168. #define HAVE_INITGROUPS 1
  169. #define HAVE_GETGROUPS 1
  170. #define HAVE_SETGROUPS 1
  171. #define HAVE_GETPRIORITY 1
  172. #define HAVE_GETRLIMIT 1
  173. #define HAVE_SETRLIMIT 1
  174. #define HAVE_SYSCONF 1
  175. #define HAVE_DLOPEN 1
  176. #define HAVE_SIGPROCMASK 1
  177. #define HAVE_SIGACTION 1
  178. #define HAVE_SIGSETJMP 1
  179. #define HAVE__SETJMP 1
  180. #define HAVE__LONGJMP 1
  181. #define HAVE_VSNPRINTF 1
  182. #define HAVE_SNPRINTF 1
  183. #define HAVE_SETSID 1
  184. #define HAVE_TELLDIR 1
  185. #define HAVE_SEEKDIR 1
  186. #define HAVE_FCHMOD 1
  187. #define HAVE_COSH 1
  188. #define HAVE_SINH 1
  189. #define HAVE_TANH 1
  190. #define HAVE_LOG2 1
  191. #define HAVE_ROUND 1
  192. #define HAVE_SETUID 1
  193. #define HAVE_SETGID 1
  194. #define HAVE_DAEMON 1
  195. #define HAVE_SETENV 1
  196. #define HAVE_UNSETENV 1
  197. #define HAVE_MKTIME 1
  198. #define HAVE_TIMEGM 1
  199. #define HAVE_GMTIME_R 1
  200. #define HAVE_GETTIMEOFDAY 1
  201. #define HAVE_PREAD 1
  202. #define HAVE_SENDFILE 1
  203. #define HAVE_SHUTDOWN 1
  204. #define RUBY_SETJMP(env) _setjmp(env)
  205. #define RUBY_LONGJMP(env,val) _longjmp(env,val)
  206. #define RUBY_JMP_BUF jmp_buf
  207. #define HAVE_STRUCT_TM_TM_ZONE 1
  208. #define HAVE_TM_ZONE 1
  209. #define HAVE_STRUCT_TM_TM_GMTOFF 1
  210. #define HAVE_DAYLIGHT 1
  211. #define HAVE_VAR_TIMEZONE 1
  212. #define TYPEOF_VAR_TIMEZONE long
  213. #define HAVE_TIMEZONE 1
  214. #define TIMEZONE_VOID 1
  215. #define NEGATIVE_TIME_T 1
  216. #define POSIX_SIGNAL 1
  217. #define GETPGRP_VOID 1
  218. #define SETPGRP_VOID 1
  219. #define RSHIFT(x,y) ((x)>>(int)y)
  220. #define FILE_COUNT _r
  221. #define FILE_READPTR _p
  222. #define HAVE__SC_CLK_TCK 1
  223. #define STACK_GROW_DIRECTION -1
  224. #define _REENTRANT 1
  225. #define _THREAD_SAFE 1
  226. #define HAVE_LIBPTHREAD 1
  227. #define HAVE_NANOSLEEP 1
  228. #define HAVE_SCHED_YIELD 1
  229. #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  230. #define HAVE_GETCONTEXT 1
  231. #define HAVE_SETCONTEXT 1
  232. #define HAVE_BACKTRACE 1
  233. #define DLEXT_MAXLEN 7
  234. #define DLEXT ".bundle"
  235. #define LOAD_RELATIVE 1
  236. #define RUBY_LIB "/lib"
  237. #define RUBY_SITE_LIB "/apps"
  238. #define RUBY_SITE_LIB2 "/apps/app"
  239. #define RUBY_VENDOR_LIB "/lib"
  240. #define RUBY_VENDOR_LIB2 "/lib"
  241. #define RUBY_PLATFORM "i386-darwin9.5.0"
  242. #define RUBY_ARCHLIB "/lib"
  243. #define RUBY_SITE_ARCHLIB "/lib"
  244. #define RUBY_VENDOR_ARCHLIB "/lib"
  245. #include "tcmalloc/rhomem.h"