diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-14 07:29:04 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-14 07:29:04 -0500 |
commit | 3fb9e63b907186c70fb79e818d899ccb67b4b421 (patch) | |
tree | 6d1bd111880dff4838796915a68076339c37cbc3 /apps | |
parent | b7397ab184d303b7cd6a41eaf121e47834c5b707 (diff) | |
download | portable-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.txt | 7 | ||||
-rw-r--r-- | apps/ocspcheck/Makefile.am | 4 |
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 | ||
16 | check_function_exists(inet_ntop HAVE_INET_NTOP) | ||
17 | if(HAVE_INET_NTOP) | ||
18 | add_definitions(-DHAVE_INET_NTOP) | ||
19 | else() | ||
20 | set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c) | ||
21 | endif() | ||
22 | |||
23 | check_function_exists(memmem HAVE_MEMMEM) | 16 | check_function_exists(memmem HAVE_MEMMEM) |
24 | if(HAVE_MEMMEM) | 17 | if(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 | |||
14 | ocspcheck_SOURCES += ocspcheck.c | 14 | ocspcheck_SOURCES += ocspcheck.c |
15 | noinst_HEADERS = http.h | 15 | noinst_HEADERS = http.h |
16 | 16 | ||
17 | if !HAVE_INET_NTOP | ||
18 | ocspcheck_SOURCES += compat/inet_ntop.c | ||
19 | endif | ||
20 | |||
21 | if !HAVE_MEMMEM | 17 | if !HAVE_MEMMEM |
22 | ocspcheck_SOURCES += compat/memmem.c | 18 | ocspcheck_SOURCES += compat/memmem.c |
23 | endif | 19 | endif |