mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
core: remove ifdef checks for core components
The gcrypt, gnutls, libcurl and zlib are core libraries/components that we always build against. Remove the #ifdef checks - the symbols must be available at build. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
committed by
Sébastien Helleu
parent
e0ac58a26a
commit
0bcae707fc
@@ -729,26 +729,10 @@ debug_libs_cb (const void *pointer, void *data,
|
||||
const char *signal, const char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
#ifdef GCRYPT_VERSION
|
||||
const char *version_gcrypt = GCRYPT_VERSION;
|
||||
#else
|
||||
const char *version_gcrypt = "(?)";
|
||||
#endif
|
||||
#ifdef GNUTLS_VERSION
|
||||
const char *version_gnutls = GNUTLS_VERSION;
|
||||
#else
|
||||
const char *version_gnutls = "(?)";
|
||||
#endif
|
||||
#ifdef LIBCURL_VERSION
|
||||
const char *version_libcurl = LIBCURL_VERSION;
|
||||
#else
|
||||
const char *version_libcurl = "(?)";
|
||||
#endif
|
||||
#ifdef ZLIB_VERSION
|
||||
const char *version_zlib = ZLIB_VERSION;
|
||||
#else
|
||||
const char *version_zlib = "(?)";
|
||||
#endif
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
|
||||
Reference in New Issue
Block a user