comparison libpurple/protocols/gg/lib/libgadu-config.h @ 32777:e2ff2ac0e022

Gadu-Gadu: synchronize internal libgadu with upstream - second encounter. Refs #343
author tomkiewicz@cpw.pidgin.im
date Fri, 21 Oct 2011 12:48:30 +0000
parents ef01f180114b
children
comparison
equal deleted inserted replaced
32776:8c71a7e95f16 32777:e2ff2ac0e022
3 #include "config.h" 3 #include "config.h"
4 4
5 #ifndef __GG_LIBGADU_CONFIG_H 5 #ifndef __GG_LIBGADU_CONFIG_H
6 #define __GG_LIBGADU_CONFIG_H 6 #define __GG_LIBGADU_CONFIG_H
7 7
8 #define GG_LIBGADU_VERSION "1.11.0"
9
10 /* Defined if libgadu was compiled for bigendian machine. */ 8 /* Defined if libgadu was compiled for bigendian machine. */
11 #undef __GG_LIBGADU_BIGENDIAN 9 #undef __GG_LIBGADU_BIGENDIAN
12 #ifdef WORDS_BIGENDIAN 10 #ifdef WORDS_BIGENDIAN
13 #define __GG_LIBGADU_BIGENDIAN 11 # define __GG_LIBGADU_BIGENDIAN
14 #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
15 35
16 /* Defined if this machine has va_copy(). */ 36 /* Defined if this machine has va_copy(). */
17 #define __GG_LIBGADU_HAVE_VA_COPY 37 #define __GG_LIBGADU_HAVE_VA_COPY
18 38
19 /* Defined if this machine has __va_copy(). */ 39 /* Defined if this machine has __va_copy(). */
20 #define __GG_LIBGADU_HAVE___VA_COPY 40 #define __GG_LIBGADU_HAVE___VA_COPY
21 41
22 /* Defined if this machine supports long long. */ 42 /* Defined if this machine supports long long. */
23 #undef __GG_LIBGADU_HAVE_LONG_LONG 43 #undef __GG_LIBGADU_HAVE_LONG_LONG
24 #ifdef HAVE_LONG_LONG 44 #ifdef HAVE_LONG_LONG
25 #define __GG_LIBGADU_HAVE_LONG_LONG 45 # define __GG_LIBGADU_HAVE_LONG_LONG
26 #endif /* HAVE_LONG_LONG */ 46 #endif
27 47
28 /* Defined if libgadu was compiled and linked with pthread support. */ 48 /* Defined if libgadu was compiled and linked with GnuTLS support. */
29 /* We don't like pthreads. */ 49 #undef GG_CONFIG_HAVE_GNUTLS
30 #undef __GG_LIBGADU_HAVE_PTHREAD
31
32 /* Defined if libgadu was compiled and linked with GnuTLS encryption support. */
33 #ifdef HAVE_GNUTLS 50 #ifdef HAVE_GNUTLS
34 # define GG_CONFIG_HAVE_GNUTLS 51 # define GG_CONFIG_HAVE_GNUTLS
35 #else
36 # undef GG_CONFIG_HAVE_GNUTLS
37 #endif 52 #endif
38 53
39 /* Defined if libgadu was compiled and linked with TLS support. */ 54 /* Defined if libgadu was compiled and linked with OpenSSL support. */
40 /* Always undefined in Purple. */ 55 /* Always undefined in Purple. */
41 #undef __GG_LIBGADU_HAVE_OPENSSL 56 #undef __GG_LIBGADU_HAVE_OPENSSL
42 57
43 /* 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
44 #if HAVE_STDINT_H 63 #if HAVE_STDINT_H
45 #include <stdint.h> 64 # define GG_CONFIG_HAVE_STDINT_H
46 #endif 65 #endif
47 66
48 /* Defined if this machine has C99-compiliant vsnprintf(). */
49 #ifndef _WIN32
50 #define __GG_LIBGADU_HAVE_C99_VSNPRINTF
51 #else
52 #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF
53 #endif
54 67
55 #define vnsprintf g_vnsprintf 68 #define vnsprintf g_vnsprintf
56 69
57 #ifdef _WIN32
58 #define random (long) rand
59 #endif 70 #endif
60
61 #endif /* __GG_LIBGADU_CONFIG_H */