diff options
author | Max Kellermann <max@duempel.org> | 2008-12-27 14:33:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-27 14:33:41 +0100 |
commit | 0fe0425dee555027c94a39ca0bca5bac947f4702 (patch) | |
tree | b56c3d787c766cda67b29dcd7664dbd516835373 /src/ls.c | |
parent | 4c13a276c4340752fe955057cbb8cae82163292d (diff) |
disable archive API without plugins
When there are no archive plugins, we do not need the archive API at
all. Drop all its overhead.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,7 @@ hasMusicSuffix(const char *utf8file, unsigned int next) return ret; } +#ifdef ENABLE_ARCHIVE const struct archive_plugin * get_archive_by_suffix(const char *utf8file) { @@ -98,3 +99,4 @@ get_archive_by_suffix(const char *utf8file) } return ret; } +#endif |