diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -57,11 +57,11 @@ #include "tag_pool.h" #include "mpd_error.h" -#ifdef ENABLE_INOTIFY +#if CONFIG_INOTIFY #include "inotify_update.h" #endif -#ifdef ENABLE_SQLITE +#if CONFIG_LIBSQLITE3 #include "sticker.h" #endif @@ -188,7 +188,7 @@ glue_db_init_and_load(void) static void glue_sticker_init(void) { -#ifdef ENABLE_SQLITE +#if CONFIG_LIBSQLITE3 GError *error = NULL; char *sticker_file = config_dup_path(CONF_STICKER_FILE, &error); if (sticker_file == NULL && error != NULL) @@ -461,7 +461,7 @@ int mpd_main(int argc, char *argv[]) } success = config_get_bool(CONF_AUTO_UPDATE, false); -#ifdef ENABLE_INOTIFY +#if CONFIG_INOTIFY if (success && mapper_has_music_directory()) mpd_inotify_init(config_get_unsigned(CONF_AUTO_UPDATE_DEPTH, G_MAXUINT)); @@ -491,7 +491,7 @@ int mpd_main(int argc, char *argv[]) g_main_loop_unref(main_loop); -#ifdef ENABLE_INOTIFY +#if CONFIG_INOTIFY mpd_inotify_finish(); #endif @@ -507,7 +507,7 @@ int mpd_main(int argc, char *argv[]) g_debug("db_finish took %f seconds", ((float)(clock()-start))/CLOCKS_PER_SEC); -#ifdef ENABLE_SQLITE +#if CONFIG_LIBSQLITE3 sticker_global_finish(); #endif |