From 7eef6dd3e45975012afcc03ba30dfb951984910f Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 6 Jun 2022 14:36:52 +0300 Subject: Excluded build on the new string functions when they are unused --- src/microhttpd/mhd_str.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/microhttpd/mhd_str.h') diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h index ecad5422..a114d9a3 100644 --- a/src/microhttpd/mhd_str.h +++ b/src/microhttpd/mhd_str.h @@ -475,6 +475,7 @@ MHD_bin_to_hex (const void *bin, size_t size, char *hex); +#ifdef DAUTH_SUPPORT /** * Check two strings for equality, "unquoting" the first string from quoted * form as specified by RFC7230#section-3.2.6 and RFC7694#quoted.strings. @@ -520,4 +521,6 @@ MHD_str_unquote (const char *quoted, size_t quoted_len, char *result); +#endif /* DAUTH_SUPPORT */ + #endif /* MHD_STR_H */ -- cgit v1.2.3