… | |
… | |
25 | #undef ENABLE_COMPRESSION |
25 | #undef ENABLE_COMPRESSION |
26 | |
26 | |
27 | /* Select the digest algorithm to use. */ |
27 | /* Select the digest algorithm to use. */ |
28 | #undef ENABLE_DIGEST |
28 | #undef ENABLE_DIGEST |
29 | |
29 | |
|
|
30 | /* DNS tunnel protocol support. */ |
|
|
31 | #undef ENABLE_DNS |
|
|
32 | |
30 | /* http proxy connect support. */ |
33 | /* http proxy connect support. */ |
31 | #undef ENABLE_HTTP_PROXY |
34 | #undef ENABLE_HTTP_PROXY |
32 | |
35 | |
33 | /* ICMP protocol support. */ |
36 | /* ICMP protocol support. */ |
34 | #undef ENABLE_ICMP |
37 | #undef ENABLE_ICMP |
… | |
… | |
54 | #undef HAVE_ARPA_INET_H |
57 | #undef HAVE_ARPA_INET_H |
55 | |
58 | |
56 | /* Define to 1 if you have the `asprintf' function. */ |
59 | /* Define to 1 if you have the `asprintf' function. */ |
57 | #undef HAVE_ASPRINTF |
60 | #undef HAVE_ASPRINTF |
58 | |
61 | |
|
|
62 | /* Define to 1 if you have the <clocale> header file. */ |
|
|
63 | #undef HAVE_CLOCALE |
|
|
64 | |
59 | /* Cygwin */ |
65 | /* Cygwin */ |
60 | #undef HAVE_CYGWIN |
66 | #undef HAVE_CYGWIN |
61 | |
67 | |
62 | /* Define to 1 if you have the `daemon' function. */ |
68 | /* Define to 1 if you have the `daemon' function. */ |
63 | #undef HAVE_DAEMON |
69 | #undef HAVE_DAEMON |
… | |
… | |
87 | /* Define if you have the iconv() function. */ |
93 | /* Define if you have the iconv() function. */ |
88 | #undef HAVE_ICONV |
94 | #undef HAVE_ICONV |
89 | |
95 | |
90 | /* Define to 1 if you have the <inttypes.h> header file. */ |
96 | /* Define to 1 if you have the <inttypes.h> header file. */ |
91 | #undef HAVE_INTTYPES_H |
97 | #undef HAVE_INTTYPES_H |
|
|
98 | |
|
|
99 | /* Define to 1 if you have the `gmp' library (-lgmp). */ |
|
|
100 | #undef HAVE_LIBGMP |
92 | |
101 | |
93 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
102 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
94 | #undef HAVE_LIBNSL |
103 | #undef HAVE_LIBNSL |
95 | |
104 | |
96 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
105 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
… | |
… | |
308 | |
317 | |
309 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
318 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
310 | #undef size_t |
319 | #undef size_t |
311 | |
320 | |
312 | |
321 | |
|
|
322 | typedef unsigned char u8; |
|
|
323 | typedef signed char s8; |
|
|
324 | |
313 | #if __CYGWIN__ |
325 | #if __CYGWIN__ |
314 | |
326 | |
315 | typedef unsigned char u8; |
|
|
316 | typedef unsigned short u16; |
327 | typedef unsigned short u16; |
317 | typedef unsigned int u32; |
328 | typedef unsigned int u32; |
|
|
329 | typedef signed short s16; |
|
|
330 | typedef signed int s32; |
318 | |
331 | |
319 | #else |
332 | #else |
320 | #include <inttypes.h> |
333 | #include <inttypes.h> |
321 | |
334 | |
322 | /* old modula-2 habits */ |
335 | /* old modula-2 habits */ |
323 | typedef unsigned char u8; |
|
|
324 | typedef uint16_t u16; |
336 | typedef uint16_t u16; |
325 | typedef uint32_t u32; |
337 | typedef uint32_t u32; |
|
|
338 | typedef int16_t s16; |
|
|
339 | typedef int32_t s32; |
326 | #endif |
340 | #endif |
327 | |
341 | |
328 | #endif |
342 | #endif |
329 | |
343 | |
|
|
344 | // include clocale first because gettext.h might overwrite setlocale |
|
|
345 | #if defined(HAVE_CLOCALE) && defined(__cplusplus) |
|
|
346 | # include <clocale> |
|
|
347 | #else |
|
|
348 | # include <locale.h> |
|
|
349 | #endif |
|
|
350 | #include "gettext.h" |
|
|
351 | |