From 6544b0bcd764db8ab89768cfadc680c0a96e1e40 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 18 Sep 2016 21:50:39 +0200 Subject: [PATCH] Get rid of HAVE_LIBRETRODB ifdefs --- tasks/task_database.c | 6 ------ tasks/task_database_cue.c | 2 -- 2 files changed, 8 deletions(-) diff --git a/tasks/task_database.c b/tasks/task_database.c index 3f91ca6b2e..3c3c11378a 100644 --- a/tasks/task_database.c +++ b/tasks/task_database.c @@ -24,9 +24,7 @@ #include "tasks_internal.h" -#ifdef HAVE_LIBRETRODB #include "../database_info.h" -#endif #include "../configuration.h" #include "../file_path_special.h" @@ -61,7 +59,6 @@ typedef struct db_handle unsigned status; } db_handle_t; -#ifdef HAVE_LIBRETRODB #ifdef HAVE_COMPRESSION static int archive_compare_crc32(const char *name, const char *valid_exts, @@ -670,6 +667,3 @@ error: free(db); return false; } - -#endif - diff --git a/tasks/task_database_cue.c b/tasks/task_database_cue.c index bce1b4b71b..bb6af76b1e 100644 --- a/tasks/task_database_cue.c +++ b/tasks/task_database_cue.c @@ -29,9 +29,7 @@ #include "../config.h" #endif -#ifdef HAVE_LIBRETRODB #include "../database_info.h" -#endif #include "tasks_internal.h"