Mercurial > pidgin.yaz
comparison libpurple/protocols/gg/lib/libgadu-config.h @ 32827:4a34689eeb33 default tip
merged from im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 19 Nov 2011 14:42:54 +0900 |
parents | e2ff2ac0e022 |
children |
comparison
equal
deleted
inserted
replaced
32692:0f94ec89f0bc | 32827:4a34689eeb33 |
---|---|
6 #define __GG_LIBGADU_CONFIG_H | 6 #define __GG_LIBGADU_CONFIG_H |
7 | 7 |
8 /* Defined if libgadu was compiled for bigendian machine. */ | 8 /* Defined if libgadu was compiled for bigendian machine. */ |
9 #undef __GG_LIBGADU_BIGENDIAN | 9 #undef __GG_LIBGADU_BIGENDIAN |
10 #ifdef WORDS_BIGENDIAN | 10 #ifdef WORDS_BIGENDIAN |
11 #define __GG_LIBGADU_BIGENDIAN | 11 # define __GG_LIBGADU_BIGENDIAN |
12 #endif /* WORDS_BIGENDIAN */ | 12 #endif |
13 | |
14 /* Defined if this machine has gethostbyname_r(). */ | |
15 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R | |
16 | |
17 /* Defined if this machine has _exit(). */ | |
18 #define GG_CONFIG_HAVE__EXIT | |
19 | |
20 /* Defined if libgadu was compiled and linked with fork support. */ | |
21 #undef GG_CONFIG_HAVE_FORK | |
22 #ifndef _WIN32 | |
23 # define GG_CONFIG_HAVE_FORK | |
24 #endif | |
25 | |
26 /* Defined if libgadu was compiled and linked with pthread support. */ | |
27 /* We don't like pthreads. */ | |
28 #undef __GG_LIBGADU_HAVE_PTHREAD | |
29 | |
30 /* Defined if this machine has C99-compiliant vsnprintf(). */ | |
31 #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF | |
32 #ifndef _WIN32 | |
33 # define __GG_LIBGADU_HAVE_C99_VSNPRINTF | |
34 #endif | |
13 | 35 |
14 /* Defined if this machine has va_copy(). */ | 36 /* Defined if this machine has va_copy(). */ |
15 #define __GG_LIBGADU_HAVE_VA_COPY | 37 #define __GG_LIBGADU_HAVE_VA_COPY |
16 | 38 |
17 /* Defined if this machine has __va_copy(). */ | 39 /* Defined if this machine has __va_copy(). */ |
18 #define __GG_LIBGADU_HAVE___VA_COPY | 40 #define __GG_LIBGADU_HAVE___VA_COPY |
19 | 41 |
20 /* Defined if this machine supports long long. */ | 42 /* Defined if this machine supports long long. */ |
21 #undef __GG_LIBGADU_HAVE_LONG_LONG | 43 #undef __GG_LIBGADU_HAVE_LONG_LONG |
22 #ifdef HAVE_LONG_LONG | 44 #ifdef HAVE_LONG_LONG |
23 #define __GG_LIBGADU_HAVE_LONG_LONG | 45 # define __GG_LIBGADU_HAVE_LONG_LONG |
24 #endif /* HAVE_LONG_LONG */ | 46 #endif |
25 | 47 |
26 /* Defined if libgadu was compiled and linked with pthread support. */ | 48 /* Defined if libgadu was compiled and linked with GnuTLS support. */ |
27 /* We don't like pthreads. */ | 49 #undef GG_CONFIG_HAVE_GNUTLS |
28 #undef __GG_LIBGADU_HAVE_PTHREAD | |
29 | |
30 /* Defined if libgadu was compiled and linked with GnuTLS encryption support. */ | |
31 #ifdef HAVE_GNUTLS | 50 #ifdef HAVE_GNUTLS |
32 # define GG_CONFIG_HAVE_GNUTLS | 51 # define GG_CONFIG_HAVE_GNUTLS |
33 #else | |
34 # undef GG_CONFIG_HAVE_GNUTLS | |
35 #endif | 52 #endif |
36 | 53 |
37 /* Defined if libgadu was compiled and linked with TLS support. */ | 54 /* Defined if libgadu was compiled and linked with OpenSSL support. */ |
38 /* Always undefined in Purple. */ | 55 /* Always undefined in Purple. */ |
39 #undef __GG_LIBGADU_HAVE_OPENSSL | 56 #undef __GG_LIBGADU_HAVE_OPENSSL |
40 | 57 |
41 /* Include file containing uintXX_t declarations. */ | 58 /* Defined if libgadu was compiled and linked with zlib support. */ |
59 #undef GG_CONFIG_HAVE_ZLIB | |
60 | |
61 /* Defined if uintX_t types are defined in <stdint.h>. */ | |
62 #undef GG_CONFIG_HAVE_STDINT_H | |
42 #if HAVE_STDINT_H | 63 #if HAVE_STDINT_H |
43 #include <stdint.h> | 64 # define GG_CONFIG_HAVE_STDINT_H |
44 #endif | 65 #endif |
45 | 66 |
46 /* Defined if this machine has C99-compiliant vsnprintf(). */ | |
47 #ifndef _WIN32 | |
48 #define __GG_LIBGADU_HAVE_C99_VSNPRINTF | |
49 #else | |
50 #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF | |
51 #endif | |
52 | 67 |
53 #define vnsprintf g_vnsprintf | 68 #define vnsprintf g_vnsprintf |
54 | 69 |
55 #ifdef _WIN32 | |
56 #define random (long) rand | |
57 #endif | 70 #endif |
58 | |
59 #endif /* __GG_LIBGADU_CONFIG_H */ |