cmake: drop HAVE_LIBWINMM
and HAVE_LIBWS2_32
feature checks
#11612
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HAVE_LIBWINMM
was detected but unused. Thewinmm
system libraryis not used by curl, but it is by its optional dependency
librtmp
. Changethe logic to add
winmm
whenUSE_LIBRTMP
is set. This library has beenavailable since the early days of Windows.
HAVE_LIBWS2_32
detectedws2_32
lib on Windows. This lib is presentsince Windows 95 OSR2 (AFAIR). Winsock1 already wasn't supported and
other existing logic already assumed this lib being present, so delete the
check and replace the detection variable with
WIN32
and always addws2_32
on Windows.Closes #11612