No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

il2cpp-config-mono-web.h 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. #pragma once
  2. #define ARCHITECTURE_IS_WEB 1
  3. // The following are verified for asm.js/wasm:
  4. #define GPID_IS_VOID_P 1
  5. #define G_DIR_SEPARATOR_IS_FORWARDSLASH 1
  6. #define G_SEARCHPATH_SEPARATOR_IS_COLON 1
  7. #define GPID_IS_INT 1
  8. #define HAVE_COMMONCRYPTO_COMMONDIGEST_H 0
  9. #define HAVE_SOCKADDR_IN6_SIN_LEN 0
  10. #define HAVE_SOCKADDR_IN_SIN_LEN 0
  11. // The following #defines need to not be present in this file:
  12. // HAVE_SYS_SOCKIO_H
  13. // HAVE_LOCALCHARSET_H
  14. #ifdef __EMSCRIPTEN__PTHREADS__
  15. #define HAVE_PTHREAD_ATTR_GETSTACK 1
  16. #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
  17. #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
  18. #define HAVE_PTHREAD_GET_STACKADDR_NP 1
  19. #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
  20. #define HAVE_PTHREAD_KILL 1
  21. #define HAVE_PTHREAD_SETNAME_NP 1
  22. #endif
  23. // The following were taken from il2cpp-config-mono-osx.h header, untested/unconfirmed (too many of them). If you verify/disverify
  24. // one of the config fields below, either delete it if it's not appropriate, or move it above this comment to mark it as desired,
  25. // to keep track of the appropriate config defines for this platform. (remove this comment when/if all of these are ever resolved)
  26. #define HAVE_GNUC_UNUSED 1
  27. #define HAVE_GNUC_NORETURN 1
  28. #define HAVE_ARRAY_ELEM_INIT 1
  29. #define HAVE_BACKTRACE_SYMBOLS 1
  30. #define HAVE_FSTATAT 1
  31. #define HAVE_FSTATFS 1
  32. #define HAVE_FSTATVFS 1
  33. #define HAVE_FUTIMES 1
  34. #define HAVE_GETADDRINFO 1
  35. #define HAVE_GETDOMAINNAME 1
  36. #define HAVE_GETFSSTAT 1
  37. #define HAVE_GETGRENT 1
  38. #define HAVE_GETGRGID_R 1
  39. #define HAVE_GETGRNAM_R 1
  40. #define HAVE_GETHOSTBYNAME 1
  41. #define HAVE_GETHOSTBYNAME2 1
  42. #define HAVE_GETHOSTID 1
  43. #define HAVE_GETIFADDRS 1
  44. #define HAVE_GETLOGIN_R 1
  45. #define HAVE_GETNAMEINFO 1
  46. #define HAVE_GETPRIORITY 1
  47. #define HAVE_GETPROTOBYNAME 1
  48. #define HAVE_GETPWENT 1
  49. #define HAVE_GETPWNAM_R 1
  50. #define HAVE_GETPWUID_R 1
  51. #define HAVE_GETRLIMIT 1
  52. #define HAVE_GETRUSAGE 1
  53. #define HAVE_ICONV 1
  54. #define HAVE_IF_NAMETOINDEX 1
  55. #define HAVE_INET_ATON 1
  56. #define HAVE_INET_NTOP 1
  57. #define HAVE_INET_PTON 1
  58. #define HAVE_IPPROTO_IP 1
  59. #define HAVE_IPPROTO_IPV6 1
  60. #define HAVE_IPPROTO_TCP 1
  61. #define HAVE_ISFINITE 1
  62. #define HAVE_ISINF 1
  63. #define HAVE_KQUEUE 1
  64. #define HAVE_LARGE_FILE_SUPPORT 1
  65. #define HAVE_LOCKF 1
  66. #define HAVE_LUTIMES 1
  67. #define HAVE_MADVISE 1
  68. #define HAVE_MINCORE 1
  69. #define HAVE_MKSTEMP 1
  70. #define HAVE_MMAP 1
  71. #define HAVE_MOVING_COLLECTOR 1
  72. #define HAVE_POLL 1
  73. #define HAVE_POSIX_MADVISE 1
  74. #define HAVE_PSIGNAL 1
  75. #define HAVE_READLINKAT 1
  76. #define HAVE_READV 1
  77. #define HAVE_SEEKDIR 1
  78. #define HAVE_SENDFILE 1
  79. #define HAVE_SETDOMAINNAME 1
  80. #define HAVE_SETGRENT 1
  81. #define HAVE_SETGROUPS 1
  82. #define HAVE_SETHOSTID 1
  83. #define HAVE_SETHOSTNAME 1
  84. #define HAVE_SETPGID 1
  85. #define HAVE_SETPRIORITY 1
  86. #define HAVE_SETPWENT 1
  87. #define HAVE_SETUSERSHELL 1
  88. #define HAVE_SHM_OPEN 1
  89. #define HAVE_SIGACTION 1
  90. #define HAVE_SIGNAL 1
  91. #define HAVE_SIOCGIFCONF 1
  92. #define HAVE_SOCKLEN_T 1
  93. #define HAVE_STATFS 1
  94. #define HAVE_STATVFS 1
  95. #define HAVE_STRERROR_R 1
  96. #define HAVE_STRUCT_CMSGHDR 1
  97. #define HAVE_STRUCT_DIRENT_D_RECLEN 1
  98. #define HAVE_STRUCT_DIRENT_D_TYPE 1
  99. #define HAVE_STRUCT_FLOCK 1
  100. #define HAVE_STRUCT_IOVEC 1
  101. #define HAVE_STRUCT_IP_MREQN 1
  102. #define HAVE_STRUCT_KINFO_PROC_KP_PROC 1
  103. #define HAVE_STRUCT_LINGER 1
  104. #define HAVE_STRUCT_PASSWD_PW_GECOS 1
  105. #define HAVE_STRUCT_POLLFD 1
  106. #define HAVE_STRUCT_SOCKADDR 1
  107. #define HAVE_STRUCT_SOCKADDR_IN 1
  108. #define HAVE_STRUCT_SOCKADDR_IN6 1
  109. #define HAVE_STRUCT_SOCKADDR_STORAGE 1
  110. #define HAVE_STRUCT_SOCKADDR_UN 1
  111. #define HAVE_STRUCT_STAT 1
  112. #define HAVE_STRUCT_TIMESPEC 1
  113. #define HAVE_STRUCT_TIMEVAL 1
  114. #define HAVE_STRUCT_TIMEZONE 1
  115. #define HAVE_STRUCT_UTIMBUF 1
  116. #define HAVE_STRTOK_R 1
  117. #define HAVE_SUSECONDS_T 1
  118. #define HAVE_SWAB 1
  119. #define HAVE_SYSCONF 1
  120. #define HAVE_SYS_ZLIB 1
  121. #define HAVE_SYSTEM 1
  122. #define HAVE_TELLDIR 1
  123. #define HAVE_TM_GMTOFF 1
  124. #define HAVE_TRUNC 1
  125. #define HAVE_TTYNAME_R 1
  126. #define HAVE_UWP_WINAPI_SUPPORT 0
  127. #define HAVE_VISIBILITY_HIDDEN 1
  128. #define HAVE_VSNPRINTF 1
  129. #define HAVE_WORKING_SIGALTSTACK 1
  130. #define HAVE_WRITEV 1
  131. #define HAVE_ZLIB 1
  132. #define ICONV_CONST
  133. #define LT_OBJDIR ".libs/"
  134. #ifndef MAXPATHLEN
  135. #define MAXPATHLEN 242
  136. #endif
  137. #define USE_MONO_INSIDE_RUNTIME 1
  138. #define MONO_ZERO_LEN_ARRAY 0
  139. #define NEED_LINK_UNLINK 1
  140. #define PTHREAD_POINTER_ID 1
  141. #define PLATFORM_IS_LITTLE_ENDIAN 1
  142. #define HAVE_REWINDDIR 1
  143. #define HAVE_STPCPY 1
  144. #define HAVE_STRLCPY 1
  145. #define HAVE_VASPRINTF 1
  146. #define USE_GCC_ATOMIC_OPS 1
  147. //Headers for this platform
  148. #define G_HAVE_ALLOCA_H 1
  149. #define HAVE_ALLOCA_H 1
  150. #define HAVE_ARPA_INET_H 1
  151. #define HAVE_COMPLEX_H 1
  152. #define HAVE_CURSES_H 1
  153. #define HAVE_DIRENT_H 1
  154. #define HAVE_DLFCN_H 1
  155. #define HAVE_EXECINFO_H 1
  156. #define HAVE_FSTAB_H 1
  157. #define HAVE_GETOPT_H 1
  158. #define HAVE_GRP_H 1
  159. #define HAVE_ICONV_H 1
  160. #define HAVE_INTTYPES_H 1
  161. #define HAVE_LIBPROC_H 1
  162. #define HAVE_MEMORY_H 1
  163. #define HAVE_NETDB_H 1
  164. #define HAVE_NETINET_IN_H 1
  165. #define HAVE_NETINET_TCP_H 1
  166. #define HAVE_NET_IF_H 1
  167. #define HAVE_POLL_H 1
  168. #define HAVE_PTHREAD_H 1
  169. #define HAVE_PWD_H 1
  170. #define HAVE_SEMAPHORE_H 1
  171. #define HAVE_SIGNAL_H 1
  172. #define HAVE_STDINT_H 1
  173. #define HAVE_STDLIB_H 1
  174. #define HAVE_STRINGS_H 1
  175. #define HAVE_STRING_H 1
  176. #define HAVE_SYSLOG_H 1
  177. #define HAVE_SYS_EVENT_H 1
  178. #define HAVE_SYS_FILIO_H 1
  179. #define HAVE_SYS_IOCTL_H 1
  180. #define HAVE_SYS_IPC_H 1
  181. #define HAVE_SYS_MMAN_H 1
  182. #define HAVE_SYS_MOUNT_H 1
  183. #define HAVE_SYS_PARAM_H 1
  184. #define HAVE_SYS_POLL_H 1
  185. #define HAVE_SYS_RESOURCE_H 1
  186. #define HAVE_SYS_SDT_H 1
  187. #define HAVE_SYS_SELECT_H 1
  188. #define HAVE_SYS_SOCKET_H 1
  189. #define HAVE_SYS_STAT_H 1
  190. #define HAVE_SYS_STATVFS_H 1
  191. #define HAVE_SYS_SYSCALL_H 1
  192. #define HAVE_SYS_SYSCTL_H 1
  193. #define HAVE_SYS_TIME_H 1
  194. #define HAVE_SYS_TYPES_H 1
  195. #define HAVE_SYS_UIO_H 1
  196. #define HAVE_SYS_UN_H 1
  197. #define HAVE_SYS_USER_H 1
  198. #define HAVE_SYS_UTIME_H 1
  199. #define HAVE_SYS_UTSNAME_H 1
  200. #define HAVE_SYS_WAIT_H 1
  201. #define HAVE_SYS_XATTR_H 1
  202. #define HAVE_TERMIOS_H 1
  203. #define HAVE_TERM_H 1
  204. #define HAVE_UCONTEXT_H 1
  205. #define HAVE_UNISTD_H 1
  206. #define HAVE_UNWIND_H 1
  207. #define HAVE_UTIME_H 1
  208. #define HAVE_WCHAR_H 1
  209. #define STDC_HEADERS 1