… | |
… | |
57 | #undef HAVE_ARPA_INET_H |
57 | #undef HAVE_ARPA_INET_H |
58 | |
58 | |
59 | /* Define to 1 if you have the `asprintf' function. */ |
59 | /* Define to 1 if you have the `asprintf' function. */ |
60 | #undef HAVE_ASPRINTF |
60 | #undef HAVE_ASPRINTF |
61 | |
61 | |
|
|
62 | /* Define to 1 if you have the <clocale> header file. */ |
|
|
63 | #undef HAVE_CLOCALE |
|
|
64 | |
62 | /* Cygwin */ |
65 | /* Cygwin */ |
63 | #undef HAVE_CYGWIN |
66 | #undef HAVE_CYGWIN |
64 | |
67 | |
65 | /* Define to 1 if you have the `daemon' function. */ |
68 | /* Define to 1 if you have the `daemon' function. */ |
66 | #undef HAVE_DAEMON |
69 | #undef HAVE_DAEMON |
… | |
… | |
90 | /* Define if you have the iconv() function. */ |
93 | /* Define if you have the iconv() function. */ |
91 | #undef HAVE_ICONV |
94 | #undef HAVE_ICONV |
92 | |
95 | |
93 | /* Define to 1 if you have the <inttypes.h> header file. */ |
96 | /* Define to 1 if you have the <inttypes.h> header file. */ |
94 | #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 |
95 | |
101 | |
96 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
102 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
97 | #undef HAVE_LIBNSL |
103 | #undef HAVE_LIBNSL |
98 | |
104 | |
99 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
105 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
… | |
… | |
311 | |
317 | |
312 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
318 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
313 | #undef size_t |
319 | #undef size_t |
314 | |
320 | |
315 | |
321 | |
|
|
322 | typedef unsigned char u8; |
|
|
323 | typedef signed char s8; |
|
|
324 | |
316 | #if __CYGWIN__ |
325 | #if __CYGWIN__ |
317 | |
326 | |
318 | typedef unsigned char u8; |
|
|
319 | typedef unsigned short u16; |
327 | typedef unsigned short u16; |
320 | typedef unsigned int u32; |
328 | typedef unsigned int u32; |
|
|
329 | typedef signed short s16; |
|
|
330 | typedef signed int s32; |
321 | |
331 | |
322 | #else |
332 | #else |
323 | #include <inttypes.h> |
333 | #include <inttypes.h> |
324 | |
334 | |
325 | /* old modula-2 habits */ |
335 | /* old modula-2 habits */ |
326 | typedef unsigned char u8; |
|
|
327 | typedef uint16_t u16; |
336 | typedef uint16_t u16; |
328 | typedef uint32_t u32; |
337 | typedef uint32_t u32; |
|
|
338 | typedef int16_t s16; |
|
|
339 | typedef int32_t s32; |
329 | #endif |
340 | #endif |
330 | |
341 | |
331 | #endif |
342 | #endif |
332 | |
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 | |