暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

il2cpp-config-mono-qnx.h 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. #pragma once
  2. #if defined(__i386__)
  3. #define ARCHITECTURE_IS_X86 1
  4. #elif defined(__x86_64__)
  5. #define ARCHITECTURE_IS_AMD64 1
  6. #elif defined(__arm__)
  7. #define ARCHITECTURE_IS_ARMv7 1
  8. #define ARM_FPU_VFP 1
  9. #define HAVE_ARMV6 1
  10. #elif defined(__aarch64__)
  11. #define ARCHITECTURE_IS_AARCH64 1
  12. #else
  13. #error Unknown architecture when building!
  14. #endif
  15. //Configurable defines for this platform
  16. #define G_DIR_SEPARATOR_IS_FORWARDSLASH 1
  17. #define G_HAVE_ISO_VARARGS 1
  18. #define GLIBC_BEFORE_2_3_4_SCHED_SETAFFINITY 1
  19. #define GLIBC_HAS_CPU_COUNT 1
  20. #define GPID_IS_INT 1
  21. #define G_SEARCHPATH_SEPARATOR_IS_COLON 1
  22. #define MAJOR_IN_SYSMACROS 1
  23. #define HAVE_ARRAY_ELEM_INIT 1
  24. #define HAVE_BLKCNT_T 1
  25. #define HAVE_BLKSIZE_T 1
  26. #define HAVE_CLASSIC_WINAPI_SUPPORT 1
  27. #define HAVE_CLOCK_NANOSLEEP 1
  28. #define HAVE_CRYPT_RNG 1
  29. #define HAVE_DEV_RANDOM 1
  30. #define HAVE_DLADDR 1
  31. #define HAVE_DL_LOADER 1
  32. #define HAVE_EPOLL 1
  33. #define HAVE_EPOLL_CTL 1
  34. #define HAVE_EXECV 1
  35. #define HAVE_EXECVE 1
  36. #define HAVE_EXECVP 1
  37. #define HAVE_FINITE 1
  38. #define HAVE_FORK 1
  39. #define HAVE_FSTATAT 1
  40. #define HAVE_FSTATFS 1
  41. #define HAVE_GETADDRINFO 1
  42. #define HAVE_GETHOSTBYNAME 1
  43. #define HAVE_GETHOSTBYNAME2 1
  44. #define HAVE_GETNAMEINFO 1
  45. #define HAVE_GETPRIORITY 1
  46. #define HAVE_GETPROTOBYNAME 1
  47. #define HAVE_GETRESUID 1
  48. #define HAVE_GETRLIMIT 1
  49. #define HAVE_GETRUSAGE 1
  50. #define HAVE_GNUC_NORETURN 1
  51. #define HAVE_GNUC_UNUSED 1
  52. #define HAVE_IF_NAMETOINDEX 1
  53. #define HAVE_INET_ATON 1
  54. #define HAVE_INET_NTOP 1
  55. #define HAVE_INET_PTON 1
  56. #define HAVE_IPPROTO_IP 1
  57. #define HAVE_IPPROTO_IPV6 1
  58. #define HAVE_IPPROTO_TCP 1
  59. #define HAVE_IP_MTU_DISCOVER 1
  60. #define HAVE_IP_PKTINFO 1
  61. #define HAVE_IP_PMTUDISC_DO 1
  62. #define HAVE_ISFINITE 1
  63. #define HAVE_ISINF 1
  64. #define HAVE_KILL 1
  65. #define HAVE_LARGE_FILE_SUPPORT 1
  66. // We're depending on the POSIX implementation instead:
  67. // #define HAVE_MADVISE 0
  68. // This is referenced in e.g. external\mono\mono\utils\mono-mmap.c
  69. // but not available on QNX:
  70. // #define HAVE_MINCORE 0
  71. #define HAVE_MKSTEMP 1
  72. #define HAVE_MMAP 1
  73. #define HAVE_MOVING_COLLECTOR 1
  74. #define HAVE_MREMAP 1
  75. #define HAVE_MSG_NOSIGNAL 1
  76. #define HAVE_POLL 1
  77. #define HAVE_PRCTL 1
  78. #define HAVE_PTHREAD_ATTR_GETSTACK 1
  79. #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
  80. #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
  81. #define HAVE_PTHREAD_GETATTR_NP 1
  82. #define HAVE_PTHREAD_KILL 1
  83. #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
  84. #define HAVE_PTHREAD_SETNAME_NP 1
  85. #define HAVE_READV 1
  86. #define HAVE_REWINDDIR 1
  87. #define HAVE_SETGROUPS 1
  88. #define HAVE_SETPGID 1
  89. #define HAVE_SETPRIORITY 1
  90. #define HAVE_SETRESUID 1
  91. #define HAVE_SIGNAL 1
  92. #define HAVE_SIOCGIFCONF 1
  93. #define HAVE_SOCKLEN_T 1
  94. #define HAVE_SOL_IP 1
  95. #define HAVE_SOL_IPV6 1
  96. #define HAVE_SOL_TCP 1
  97. #define HAVE_STATFS 1
  98. #define HAVE_STRNDUP 1
  99. #define HAVE_STRTOK_R 1
  100. #define HAVE_STRERROR_R 1
  101. #define HAVE_STRUCT_CMSGHDR 1
  102. #define HAVE_STRUCT_DIRENT_D_OFF 1
  103. #define HAVE_STRUCT_DIRENT_D_RECLEN 1
  104. #define HAVE_STRUCT_DIRENT_D_TYPE 1
  105. #define HAVE_STRUCT_FLOCK 1
  106. #define HAVE_STRUCT_IOVEC 1
  107. #define HAVE_STRUCT_IP_MREQN 1
  108. #define HAVE_STRUCT_LINGER 1
  109. #define HAVE_STRUCT_POLLFD 1
  110. #define HAVE_STRUCT_SOCKADDR 1
  111. #define HAVE_STRUCT_SOCKADDR_IN 1
  112. #define HAVE_STRUCT_SOCKADDR_IN6 1
  113. #define HAVE_STRUCT_SOCKADDR_STORAGE 1
  114. #define HAVE_STRUCT_SOCKADDR_UN 1
  115. #define HAVE_STRUCT_STAT 1
  116. #define HAVE_STRUCT_STATFS_F_FLAGS 1
  117. #define HAVE_STRUCT_TIMESPEC 1
  118. #define HAVE_STRUCT_TIMEVAL 1
  119. #define HAVE_STRUCT_TIMEZONE 1
  120. #define HAVE_STRUCT_UTIMBUF 1
  121. #define HAVE_SUSECONDS_T 1
  122. #define HAVE_SYSCONF 1
  123. #define HAVE_SYSTEM 1
  124. #define HAVE_SYS_ZLIB 1
  125. #define HAVE_TM_GMTOFF 1
  126. #define HAVE_TRUNC 1
  127. #define HAVE_TTYNAME_R 1
  128. #define HAVE_UWP_WINAPI_SUPPORT 0
  129. #define HAVE_VISIBILITY_HIDDEN 1
  130. #define HAVE_VSNPRINTF 1
  131. #define HAVE_WRITEV 1
  132. #define HAVE_ZLIB 1
  133. #define LT_OBJDIR ".libs/"
  134. #define MONO_XEN_OPT 1
  135. #define MONO_ZERO_LEN_ARRAY 0
  136. #ifndef PAGE_SIZE
  137. #define PAGE_SIZE 0x1000
  138. #endif
  139. #define _POSIX_PATH_MAX 256
  140. #define PLATFORM_IS_LITTLE_ENDIAN 1
  141. #define S_IWRITE S_IWUSR
  142. #define USE_GCC_ATOMIC_OPS 1
  143. //Available headers for this platform
  144. #define HAVE_DLFCN_H 1
  145. #define HAVE_GETOPT_H 1
  146. #define HAVE_INTTYPES_H 1
  147. #define HAVE_MEMORY_H 1
  148. #define HAVE_PWD_H 1
  149. #define HAVE_STDINT_H 1
  150. #define HAVE_STDLIB_H 1
  151. #define HAVE_STRINGS_H 1
  152. #define HAVE_STRING_H 1
  153. #define HAVE_SYS_RESOURCE_H 1
  154. #define HAVE_SYS_SELECT_H 1
  155. #define HAVE_SYS_STAT_H 1
  156. #define HAVE_SYS_TIME_H 1
  157. #define HAVE_SYS_TYPES_H 1
  158. #define HAVE_SYS_WAIT_H 1
  159. #define HAVE_UNISTD_H 1
  160. #define HAVE_ALLOCA_H 1
  161. #define HAVE_ARPA_INET_H 1
  162. #define HAVE_ASM_SIGCONTEXT_H 1
  163. #define HAVE_DIRENT_H 1
  164. #define HAVE_DLFCN_H 1
  165. #define HAVE_ELF_H 1
  166. #define HAVE_GRP_H 1
  167. #define HAVE_INTTYPES_H 1
  168. #define HAVE_LINK_H 1
  169. #define HAVE_LINUX_MAGIC_H 1
  170. #define HAVE_LINUX_NETLINK_H 1
  171. #define HAVE_LINUX_RTC_H 1
  172. #define HAVE_LINUX_RTNETLINK_H 1
  173. #define HAVE_MEMORY_H 1
  174. #define HAVE_NETDB_H 1
  175. #define HAVE_NETINET_IN_H 1
  176. #define HAVE_NETINET_TCP_H 1
  177. #define HAVE_NET_IF_H 1
  178. #define HAVE_PATHCONF_H 1
  179. #define HAVE_POLL_H 1
  180. #define HAVE_PTHREAD_H 1
  181. #define HAVE_PWD_H 1
  182. #define HAVE_SEMAPHORE_H 1
  183. #define HAVE_SIGNAL_H 1
  184. #define HAVE_STDINT_H 1
  185. #define HAVE_STDLIB_H 1
  186. #define HAVE_STRINGS_H 1
  187. #define HAVE_STRING_H 1
  188. #define HAVE_SYSLOG_H 1
  189. #define HAVE_SYS_EPOLL_H 1
  190. #define HAVE_SYS_INOTIFY_H 1
  191. #define HAVE_SYS_IOCTL_H 1
  192. #define HAVE_SYS_IPC_H 1
  193. #define HAVE_SYS_MMAN_H 1
  194. #define HAVE_SYS_MOUNT_H 1
  195. #define HAVE_SYS_PARAM_H 1
  196. #define HAVE_SYS_POLL_H 1
  197. #define HAVE_SYS_PRCTL_H 1
  198. #define HAVE_SYS_RESOURCE_H 1
  199. #define HAVE_SYS_SELECT_H 1
  200. #define HAVE_SYS_SENDFILE_H 1
  201. #define HAVE_SYS_SOCKET_H 1
  202. #define HAVE_SYS_STATFS_H 1
  203. #define HAVE_SYS_STAT_H 1
  204. #define HAVE_SYS_SYSCALL_H 1
  205. #define HAVE_SYS_TIME_H 1
  206. #define HAVE_SYS_TYPES_H 1
  207. #define HAVE_SYS_UIO_H 1
  208. #define HAVE_SYS_UN_H 1
  209. #define HAVE_SYS_USER_H 1
  210. #define HAVE_SYS_UTIME_H 1
  211. #define HAVE_SYS_UTSNAME_H 1
  212. #define HAVE_SYS_WAIT_H 1
  213. #define HAVE_TERMIOS_H 1
  214. #define HAVE_UCONTEXT_H 1
  215. #define HAVE_UNISTD_H 1
  216. #define HAVE_UNWIND_H 1
  217. #define HAVE_USR_INCLUDE_MALLOC_H 1
  218. #define HAVE_UTIME_H 1
  219. #define HAVE_WCHAR_H 1
  220. #define STDC_HEADERS 1
  221. #define HAVE_SYS_ENDIAN_H 1
  222. #define HAVE_COMPLEX_H 1