Skip to content

Conversation

@PerMalmberg
Copy link
Contributor

No description provided.

CURL_STATIC_CRT and ENABLE_INET_PTON
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 73.894% when pulling c349b3a on PerMalmberg:master into 2ed8bdd on curl:master.

@snikulov snikulov added the cmake label Jun 28, 2017
CMakeLists.txt Outdated
option(ENABLE_ARES "Set to ON to enable c-ares support" OFF)
if(WIN32)
option(CURL_STATIC_CRT "Set to ON to build libcurl with static CRT on Windows (/MT)." OFF)
option(ENABLE_INET_PTON "Set to OFF to prevent usage of inet_pton on Windows. For compatability with Windows XP, Windows Server 2003 etc." ON)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why a specific ENABLE_INET_PTON option? Are you building on a system version that has the function but you want it to run on older ones? Can we somehow get that message into the explanation for its purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is precisely the case. How about something along these lines?

Set to OFF to prevent usage of inet_pton when building against modern SDKs while still requiring compatibility with older Windows versions, such as Windows XP, Windows Server 2003 etc

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 73.87% when pulling 94e204f on PerMalmberg:master into 2ed8bdd on curl:master.

@bagder bagder closed this in 4fc6ebe Jul 1, 2017
@bagder
Copy link
Member

bagder commented Jul 1, 2017

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

4 participants