aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2018-03-14 07:29:04 -0500
committerBrent Cook <busterb@gmail.com>2018-03-14 07:29:04 -0500
commit3fb9e63b907186c70fb79e818d899ccb67b4b421 (patch)
tree6d1bd111880dff4838796915a68076339c37cbc3 /apps
parentb7397ab184d303b7cd6a41eaf121e47834c5b707 (diff)
downloadportable-3fb9e63b907186c70fb79e818d899ccb67b4b421.tar.gz
portable-3fb9e63b907186c70fb79e818d899ccb67b4b421.tar.bz2
portable-3fb9e63b907186c70fb79e818d899ccb67b4b421.zip
bump base requirement to Windows Vista, use builtin inet_ntop/pton
Diffstat (limited to 'apps')
-rw-r--r--apps/ocspcheck/CMakeLists.txt7
-rw-r--r--apps/ocspcheck/Makefile.am4
2 files changed, 0 insertions, 11 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index 4f89f4e..15af8a8 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -13,13 +13,6 @@ set(
13 ocspcheck.c 13 ocspcheck.c
14) 14)
15 15
16check_function_exists(inet_ntop HAVE_INET_NTOP)
17if(HAVE_INET_NTOP)
18 add_definitions(-DHAVE_INET_NTOP)
19else()
20 set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c)
21endif()
22
23check_function_exists(memmem HAVE_MEMMEM) 16check_function_exists(memmem HAVE_MEMMEM)
24if(HAVE_MEMMEM) 17if(HAVE_MEMMEM)
25 add_definitions(-DHAVE_MEMMEM) 18 add_definitions(-DHAVE_MEMMEM)
diff --git a/apps/ocspcheck/Makefile.am b/apps/ocspcheck/Makefile.am
index f7eb131..7482101 100644
--- a/apps/ocspcheck/Makefile.am
+++ b/apps/ocspcheck/Makefile.am
@@ -14,10 +14,6 @@ ocspcheck_SOURCES = http.c
14ocspcheck_SOURCES += ocspcheck.c 14ocspcheck_SOURCES += ocspcheck.c
15noinst_HEADERS = http.h 15noinst_HEADERS = http.h
16 16
17if !HAVE_INET_NTOP
18ocspcheck_SOURCES += compat/inet_ntop.c
19endif
20
21if !HAVE_MEMMEM 17if !HAVE_MEMMEM
22ocspcheck_SOURCES += compat/memmem.c 18ocspcheck_SOURCES += compat/memmem.c
23endif 19endif