config-msvc.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. #include <config-msvc-version.h>
  2. #define CONFIGURE_DEFINES "N/A"
  3. #define ENABLE_DEF_AUTH 1
  4. #define ENABLE_PF 1
  5. #define ENABLE_CRYPTO 1
  6. #define ENABLE_CRYPTO_OPENSSL 1
  7. #define ENABLE_DEBUG 1
  8. #define ENABLE_EUREPHIA 1
  9. #define ENABLE_FRAGMENT 1
  10. #define ENABLE_HTTP_PROXY 1
  11. #define ENABLE_LZO 1
  12. #define ENABLE_LZ4 1
  13. #define NEED_COMPAT_LZ4 1
  14. #define ENABLE_MANAGEMENT 1
  15. #define ENABLE_MULTIHOME 1
  16. #define ENABLE_PKCS11 1
  17. #define ENABLE_PLUGIN 1
  18. #define ENABLE_PORT_SHARE 1
  19. #define ENABLE_SOCKS 1
  20. #define HAVE_ERRNO_H 1
  21. #define HAVE_FCNTL_H 1
  22. #define HAVE_CTYPE_H 1
  23. #define HAVE_STDARG_H 1
  24. #define HAVE_STDIO_H 1
  25. #define HAVE_STDLIB_H 1
  26. #define HAVE_STRDUP 1
  27. #define HAVE_STRERROR 1
  28. #define HAVE_STRINGS_H 1
  29. #define HAVE_STRING_H 1
  30. #define HAVE_LIMITS_H 1
  31. #define HAVE_SYSTEM 1
  32. #define HAVE_TIME 1
  33. #define HAVE_TIME_H 1
  34. #define HAVE_UNLINK 1
  35. #define HAVE_VSNPRINTF 1
  36. #define HAVE_WINDOWS_H 1
  37. #define HAVE_WINSOCK2_H 1
  38. #define HAVE_WS2TCPIP_H 1
  39. #define HAVE_IO_H 1
  40. #define HAVE_DIRECT_H 1
  41. #define HAVE_SYS_TYPES_H 1
  42. #define HAVE_SYS_STAT_H 1
  43. #define HAVE_LZO_LZO1X_H 1
  44. #define HAVE_LZO_LZOUTIL_H 1
  45. #define HAVE_VERSIONHELPERS_H 1
  46. #define HAVE_ACCESS 1
  47. #define HAVE_CHDIR 1
  48. #define HAVE_CHSIZE 1
  49. #define HAVE_CPP_VARARG_MACRO_ISO 1
  50. #define HAVE_CTIME 1
  51. #define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH 1
  52. #define HAVE_IN_PKTINFO 1
  53. #define HAVE_MEMSET 1
  54. #define HAVE_PUTENV 1
  55. #define HAVE_STAT 1
  56. #define HAVE_SOCKET 1
  57. #define HAVE_RECV 1
  58. #define HAVE_RECVFROM 1
  59. #define HAVE_SEND 1
  60. #define HAVE_SENDTO 1
  61. #define HAVE_LISTEN 1
  62. #define HAVE_ACCEPT 1
  63. #define HAVE_CONNECT 1
  64. #define HAVE_BIND 1
  65. #define HAVE_SELECT 1
  66. #define HAVE_GETHOSTBYNAME 1
  67. #define HAVE_INET_NTOA 1
  68. #define HAVE_SETSOCKOPT 1
  69. #define HAVE_GETSOCKOPT 1
  70. #define HAVE_GETSOCKNAME 1
  71. #define HAVE_POLL 1
  72. #define HAVE_OPENSSL_ENGINE 1
  73. #define PATH_SEPARATOR '\\'
  74. #define PATH_SEPARATOR_STR "\\"
  75. #ifndef __cplusplus
  76. #define inline __inline
  77. #endif
  78. #define EMPTY_ARRAY_SIZE 0
  79. #define TARGET_WIN32 1
  80. #define TARGET_ALIAS "Windows-MSVC"
  81. #define HAVE_DECL_SO_MARK 0
  82. #define strncasecmp strnicmp
  83. #define strcasecmp _stricmp
  84. #if _MSC_VER<1900
  85. #define snprintf _snprintf
  86. #endif
  87. #if _MSC_VER < 1800
  88. #define strtoull strtoul
  89. #endif
  90. #define in_addr_t uint32_t
  91. #define ssize_t SSIZE_T
  92. #define S_IRUSR 0
  93. #define S_IWUSR 0
  94. #define R_OK 4
  95. #define W_OK 2
  96. #define X_OK 1
  97. #define F_OK 0
  98. #define SIGHUP 1
  99. #define SIGINT 2
  100. #define SIGUSR1 10
  101. #define SIGUSR2 12
  102. #define SIGTERM 15
  103. typedef unsigned __int64 uint64_t;
  104. typedef unsigned __int32 uint32_t;
  105. typedef unsigned __int16 uint16_t;
  106. typedef unsigned __int8 uint8_t;
  107. typedef __int64 int64_t;
  108. typedef __int32 int32_t;
  109. typedef __int16 int16_t;
  110. typedef __int8 int8_t;
  111. typedef uint16_t in_port_t;
  112. #ifdef HAVE_CONFIG_MSVC_LOCAL_H
  113. #include <config-msvc-local.h>
  114. #endif
  115. /* Vista and above has implementation of inet_ntop / inet_pton */
  116. #if _WIN32_WINNT >= _WIN32_WINNT_VISTA
  117. #define HAVE_INET_NTOP
  118. #define HAVE_INET_PTON
  119. #endif