bump base requirement to Windows Vista, use builtin inet_ntop/pton
This commit is contained in:
@@ -13,13 +13,6 @@ set(
|
||||
ocspcheck.c
|
||||
)
|
||||
|
||||
check_function_exists(inet_ntop HAVE_INET_NTOP)
|
||||
if(HAVE_INET_NTOP)
|
||||
add_definitions(-DHAVE_INET_NTOP)
|
||||
else()
|
||||
set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c)
|
||||
endif()
|
||||
|
||||
check_function_exists(memmem HAVE_MEMMEM)
|
||||
if(HAVE_MEMMEM)
|
||||
add_definitions(-DHAVE_MEMMEM)
|
||||
|
@@ -14,10 +14,6 @@ ocspcheck_SOURCES = http.c
|
||||
ocspcheck_SOURCES += ocspcheck.c
|
||||
noinst_HEADERS = http.h
|
||||
|
||||
if !HAVE_INET_NTOP
|
||||
ocspcheck_SOURCES += compat/inet_ntop.c
|
||||
endif
|
||||
|
||||
if !HAVE_MEMMEM
|
||||
ocspcheck_SOURCES += compat/memmem.c
|
||||
endif
|
||||
|
Reference in New Issue
Block a user