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