cmake: Add missing setmode check #2067

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

jstarks commented Nov 10, 2017

Ensure HAVE_SETMODE is set to 1 on OSes that have setmode. Without this,
curl will corrupt binary files when writing them to stdout on Windows.

John Starks
cmake: Add missing setmode check
Ensure HAVE_SETMODE is set to 1 on OSes that have setmode. Without this,
curl will corrupt binary files when writing them to stdout on Windows.
Owner

jay commented Nov 10, 2017

Thanks

@jay jay added the cmake label Nov 10, 2017

@jay jay closed this in 2e850da Nov 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment