From 0eda75fec0cafd2000bd9dc064bcb9d4f9511a96 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 20 Sep 2018 13:51:50 +1000 Subject: [PATCH 1/2] don't typedef socklen_t for _MSC_VER >= 1914 --- lib/isc/win32/include/isc/platform.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/isc/win32/include/isc/platform.h.in b/lib/isc/win32/include/isc/platform.h.in index b927888f1cd..6369fc56304 100644 --- a/lib/isc/win32/include/isc/platform.h.in +++ b/lib/isc/win32/include/isc/platform.h.in @@ -36,7 +36,9 @@ #endif #include +#if _MSC_VER < 1914 typedef uint32_t socklen_t; +#endif #endif -- GitLab From be333e93ec78734c29c626f70f6b28ada2bfe4df Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 20 Sep 2018 14:00:28 +1000 Subject: [PATCH 2/2] remove isc_string_strlcat and isc_string_strlcpy --- lib/isc/win32/libisc.def.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/isc/win32/libisc.def.in b/lib/isc/win32/libisc.def.in index 049f5066caa..73721366ae5 100644 --- a/lib/isc/win32/libisc.def.in +++ b/lib/isc/win32/libisc.def.in @@ -613,8 +613,6 @@ isc_stdio_tell isc_stdio_write isc_stdtime_get isc_string_strerror_r -isc_string_strlcat -isc_string_strlcpy isc_symtab_count isc_symtab_create isc_symtab_define -- GitLab