Sun, 15 Apr 2007 02:10:37 +0000
propagate from branch 'im.pidgin.gaim' (head b2836a24d81e7a1bd1d21b3aea8794b094391344)
to branch 'im.pidgin.rlaager.merging.soc-msnp13-to-svn18164' (head 463b4fa9f067b279f843520d95a822adc86a0a1b)
| 11360 | 1 | /* Local libgadu configuration. */ |
| 2 | ||
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
3 | #include "config.h" |
| 11360 | 4 | |
| 5 | #ifndef __GG_LIBGADU_CONFIG_H | |
| 6 | #define __GG_LIBGADU_CONFIG_H | |
| 7 | ||
| 8 | /* Defined if libgadu was compiled for bigendian machine. */ | |
| 9 | #undef __GG_LIBGADU_BIGENDIAN | |
| 10 | #ifdef WORDS_BIGENDIAN | |
| 11 | #define __GG_LIBGADU_BIGENDIAN | |
| 12 | #endif /* WORDS_BIGENDIAN */ | |
| 13 | ||
| 14 | /* Defined if this machine has va_copy(). */ | |
| 15 | #define __GG_LIBGADU_HAVE_VA_COPY | |
| 16 | ||
| 17 | /* Defined if this machine has __va_copy(). */ | |
| 18 | #define __GG_LIBGADU_HAVE___VA_COPY | |
| 19 | ||
| 20 | /* Defined if this machine supports long long. */ | |
| 21 | #undef __GG_LIBGADU_HAVE_LONG_LONG | |
| 22 | #ifdef HAVE_LONG_LONG | |
| 23 | #define __GG_LIBGADU_HAVE_LONG_LONG | |
| 24 | #endif /* HAVE_LONG_LONG */ | |
| 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 libgadu was compiled and linked with TLS support. */ | |
| 31 | /* Always undefined in Gaim. */ | |
| 32 | #undef __GG_LIBGADU_HAVE_OPENSSL | |
| 33 | ||
| 34 | /* Include file containing uintXX_t declarations. */ | |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
35 | #if HAVE_STDINT_H |
| 11360 | 36 | #include <stdint.h> |
|
12561
c81871bffd54
[gaim-migrate @ 14880]
Richard Laager <rlaager@pidgin.im>
parents:
11546
diff
changeset
|
37 | #endif |
| 11360 | 38 | |
| 39 | /* Defined if this machine has C99-compiliant vsnprintf(). */ | |
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
40 | #ifndef _WIN32 |
| 11360 | 41 | #define __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
42 | #else |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
43 | #undef __GG_LIBGADU_HAVE_C99_VSNPRINTF |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
44 | #endif |
| 11360 | 45 | |
| 46 | #define vnsprintf g_vnsprintf | |
| 47 | ||
|
11546
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
48 | #ifdef _WIN32 |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
49 | #define random (long) rand |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
50 | #endif |
|
acb5676e57bb
[gaim-migrate @ 13801]
Daniel Atallah <datallah@pidgin.im>
parents:
11360
diff
changeset
|
51 | |
| 11360 | 52 | #endif /* __GG_LIBGADU_CONFIG_H */ |