aboutsummaryrefslogtreecommitdiff
path: root/src/tool_metalink.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-07 23:49:27 +0200
committerYang Tse <yangsita@gmail.com>2012-06-07 23:50:12 +0200
commit04ca9aecd1a6b32c5e81885f7f1e99d30d6d8ec3 (patch)
treecc7a188d7a6c4676fdb895df4b7c484b3ba99f78 /src/tool_metalink.c
parent2e48139fbf44283a07f02978095d50bdcb112b9f (diff)
metalink: build fixes and adjustments I
Diffstat (limited to 'src/tool_metalink.c')
-rw-r--r--src/tool_metalink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tool_metalink.c b/src/tool_metalink.c
index 58aae831d..375cdd3b2 100644
--- a/src/tool_metalink.c
+++ b/src/tool_metalink.c
@@ -31,7 +31,7 @@
# include <fcntl.h>
#endif
-#ifdef HAVE_LIBMETALINK
+#ifdef USE_METALINK
#include <metalink/metalink_parser.h>
@@ -416,7 +416,7 @@ int metalink_check_hash(struct Configurable *config,
#endif /* METALINK_HASH_CHECK */
-#ifdef HAVE_LIBMETALINK
+#ifdef USE_METALINK
static metalink_checksum *new_metalink_checksum(const char *hash_name,
const char *hash_value)
@@ -538,7 +538,7 @@ int parse_metalink(struct Configurable *config, const char *infile)
return 0;
}
-#endif /* HAVE_LIBMETALINK */
+#endif /* USE_METALINK */
/*
* Returns nonzero if content_type includes mediatype.
@@ -621,4 +621,4 @@ void clean_metalink(struct Configurable *config)
config->metalinkfile_last = 0;
}
-#endif /* HAVE_LIBMETALINK */
+#endif /* USE_METALINK */