doh: remove UNITTEST macro definition
The UNITTEST macro is defined by curl_setup.h so there is no use in carry a local copy of the logic. Closes: #8902 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
Родитель
dcaae6bb5b
Коммит
e70928b091
|
@ -69,12 +69,6 @@ static const char *doh_strerror(DOHcode code)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef DEBUGBUILD
|
||||
#define UNITTEST
|
||||
#else
|
||||
#define UNITTEST static
|
||||
#endif
|
||||
|
||||
/* @unittest 1655
|
||||
*/
|
||||
UNITTEST DOHcode doh_encode(const char *host,
|
||||
|
|
Загрузка…
Ссылка в новой задаче