view libpurple/protocols/gg/lib/libgadu-config.h @ 32764:ef01f180114b

Gadu-Gadu: synchronize internal libgadu with upstream. Refs #343
author tomkiewicz@cpw.pidgin.im
date Tue, 18 Oct 2011 00:55:59 +0000
parents 3a90a59ddea2
children e2ff2ac0e022
line wrap: on
line source

/* Local libgadu configuration. */

#include "config.h"

#ifndef __GG_LIBGADU_CONFIG_H
#define __GG_LIBGADU_CONFIG_H

#define GG_LIBGADU_VERSION "1.11.0"

/* Defined if libgadu was compiled for bigendian machine. */
#undef __GG_LIBGADU_BIGENDIAN
#ifdef WORDS_BIGENDIAN
#define __GG_LIBGADU_BIGENDIAN
#endif /* WORDS_BIGENDIAN */

/* Defined if this machine has va_copy(). */
#define __GG_LIBGADU_HAVE_VA_COPY

/* Defined if this machine has __va_copy(). */
#define __GG_LIBGADU_HAVE___VA_COPY

/* Defined if this machine supports long long. */
#undef __GG_LIBGADU_HAVE_LONG_LONG
#ifdef HAVE_LONG_LONG
#define __GG_LIBGADU_HAVE_LONG_LONG
#endif /* HAVE_LONG_LONG */

/* Defined if libgadu was compiled and linked with pthread support. */
/* We don't like pthreads. */
#undef __GG_LIBGADU_HAVE_PTHREAD

/* Defined if libgadu was compiled and linked with GnuTLS encryption support. */
#ifdef HAVE_GNUTLS
#  define GG_CONFIG_HAVE_GNUTLS
#else
#  undef GG_CONFIG_HAVE_GNUTLS
#endif

/* Defined if libgadu was compiled and linked with TLS support. */
/* Always undefined in Purple. */
#undef __GG_LIBGADU_HAVE_OPENSSL

/* Include file containing uintXX_t declarations. */
#if HAVE_STDINT_H
#include <stdint.h>
#endif

/* Defined if this machine has C99-compiliant vsnprintf(). */
#ifndef _WIN32
#define __GG_LIBGADU_HAVE_C99_VSNPRINTF
#else
#undef __GG_LIBGADU_HAVE_C99_VSNPRINTF
#endif

#define vnsprintf g_vnsprintf

#ifdef _WIN32
#define random (long) rand
#endif

#endif /* __GG_LIBGADU_CONFIG_H */