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

il2cpp-config-mono-win.h 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. #pragma once
  2. #include <SDKDDKVer.h>
  3. #ifndef WINVER
  4. #define WINVER 0x0A00
  5. #endif
  6. #if _WIN32_WINNT < 0x0600
  7. #error "Mono requires Windows Vista or later"
  8. #endif
  9. #pragma warning(disable:4100 4127)
  10. #if defined(_M_IX86)
  11. #define ARCHITECTURE_IS_X86
  12. #elif defined(_M_X64)
  13. #define ARCHITECTURE_IS_AMD64
  14. #elif defined(_M_ARM)
  15. #define ARCHITECTURE_IS_ARMv7
  16. #define ARM_FPU_VFP_HARD
  17. #elif defined(_M_ARM64)
  18. #define ARCHITECTURE_IS_ARM64
  19. #else
  20. #error Unknown architecture when building with MSVC!
  21. #endif
  22. #ifndef WIN32_LEAN_AND_MEAN
  23. #define WIN32_LEAN_AND_MEAN 1
  24. #endif
  25. #define HOST_WIN32 1
  26. #define TARGET_WIN32 1
  27. #define DISABLE_PORTABILITY 1
  28. #define F_SETFD 1
  29. #define FD_CLOEXEC 1
  30. #define G_DIR_SEPARATOR_IS_BACKSLASH 1
  31. #define G_OS_WIN32 1
  32. #define GPID_IS_VOID_P 1
  33. #define G_SEARCHPATH_SEPARATOR_IS_SEMICOLON 1
  34. #define HAVE_CRYPT_RNG 1
  35. #define HAVE_DECL_INTERLOCKEDADD 1
  36. #define HAVE_DECL_INTERLOCKEDADD64 1
  37. #define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1
  38. #define HAVE_DECL_INTERLOCKEDDECREMENT64 1
  39. #define HAVE_DECL_INTERLOCKEDEXCHANGE64 1
  40. #define HAVE_DECL_INTERLOCKEDINCREMENT64 1
  41. #define HAVE_DECL___READFSDWORD 1
  42. #define HAVE_GETPROCESSID 1
  43. #define HAVE_GETADDRINFO 1
  44. #define HAVE_GETNAMEINFO 1
  45. #define HAVE_GETPROTOBYNAME 1
  46. #define HAVE_GNUC_PRETTY_FUNCTION
  47. #define HAVE_ISINF 1
  48. #define HAVE_INET_PTON 1
  49. #define HAVE_SIGNAL 1
  50. #define HAVE_STRUCT_IP_MREQ 1
  51. #define HAVE_STRUCT_SOCKADDR_IN6 1
  52. #define HAVE_STRTOK_R 1
  53. #define HAVE_SYSTEM 1
  54. #define HAVE_TRUNC 1
  55. #define MAXPATHLEN 242
  56. #define MONO_ZERO_LEN_ARRAY 1
  57. #define PLATFORM_IS_LITTLE_ENDIAN 1
  58. #define HOST_NO_SYMLINKS 1
  59. #define PID_T_IS_INT 1
  60. #define strtok_r strtok_s
  61. #define STDOUT_STDERR_REQUIRES_CAST 1
  62. #define WNOHANG 1
  63. #define X_OK 4
  64. #define HAVE_COMPLEX_H 1
  65. #define HAVE_DLFCN_H 1
  66. #define HAVE_INTTYPES_H 1
  67. #define HAVE_MEMORY_H 1
  68. #define HAVE_SIGNAL_H 1
  69. #define HAVE_STDINT_H 1
  70. #define HAVE_STDLIB_H 1
  71. #define HAVE_STRINGS_H 1
  72. #define HAVE_STRING_H 1
  73. #define HAVE_SYS_STAT_H 1
  74. #define HAVE_SYS_TYPES_H 1
  75. #define HAVE_SYS_UTIME_H 1
  76. #define HAVE_WCHAR_H 1
  77. #define STDC_HEADERS 1
  78. #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
  79. #define HAVE_CLASSIC_WINAPI_SUPPORT 0
  80. #define HAVE_UWP_WINAPI_SUPPORT 1
  81. #define HAVE_WINDOWS_GAMES_WINAPI_SUPPORT 0
  82. #elif defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_GAMES)
  83. #define HAVE_CLASSIC_WINAPI_SUPPORT 0
  84. #define HAVE_UWP_WINAPI_SUPPORT 0
  85. #define HAVE_WINDOWS_GAMES_WINAPI_SUPPORT 1
  86. #else
  87. #define HAVE_CLASSIC_WINAPI_SUPPORT 1
  88. #define HAVE_UWP_WINAPI_SUPPORT 0
  89. #define HAVE_WINDOWS_GAMES_WINAPI_SUPPORT 0
  90. #endif
  91. #define ABORT_ON_ASSERT_FAILURE 0