aboutsummaryrefslogtreecommitdiff
path: root/lib/.gitignore
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2020-01-11 11:20:38 +0100
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-01-14 19:43:00 +0100
commitbe578eea7e4d97a3c74fc7e1341ee258925e08ff (patch)
tree13fd777bd96fefa60e8912aa7d7116f8a5e23aaf /lib/.gitignore
parent16da8bcd7141497b86b1098a9c874ac417ac6f82 (diff)
CMake: use check_symbol_exists also for inet_pton
It doesn't make much sense to only check if the function can be linked when it's not declared in any header and that is treated as an error. With the correct target Windows version set, the function is declared in ws2tcpip.h and the comment above the modified block is invalid. Also, move the definition of `_WIN32_WINNT` up to before all symbol availability checks so that we don't have to care which ones must be done after it. Tested with Visual Studio 2019 and current MinGW-w64. Closes https://github.com/curl/curl/pull/4808
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions