From 3fb9e63b907186c70fb79e818d899ccb67b4b421 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 14 Mar 2018 07:29:04 -0500 Subject: bump base requirement to Windows Vista, use builtin inet_ntop/pton --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fd755ba..df92e6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ if(WIN32) add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) - add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501) + add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) add_definitions(-DCPPFLAGS -DOPENSSL_NO_SPEED -DNO_SYSLOG -DNO_CRYPT) endif() @@ -154,11 +154,6 @@ if(HAVE_ASPRINTF) add_definitions(-DHAVE_ASPRINTF) endif() -check_function_exists(inet_pton HAVE_INET_PTON) -if(HAVE_INET_PTON) - add_definitions(-DHAVE_INET_PTON) -endif() - check_function_exists(reallocarray HAVE_REALLOCARRAY) if(HAVE_REALLOCARRAY) add_definitions(-DHAVE_REALLOCARRAY) -- cgit v1.2.3-55-g6feb