From 0bcae707fcf59db75e3c7a5ec15b3c7217e35918 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 29 Sep 2024 14:03:42 +0100 Subject: [PATCH] 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 --- src/core/core-debug.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/core/core-debug.c b/src/core/core-debug.c index a693e71f3..ed67b2a45 100644 --- a/src/core/core-debug.c +++ b/src/core/core-debug.c @@ -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;