ygrek / ocurl

OCaml bindings to libcurl
https://ygrek.org/p/ocurl
MIT License
59 stars 32 forks source link

Various fixes for Windows building with mingw32 #8

Closed dra27 closed 9 years ago

dra27 commented 9 years ago

A few alterations in this branch for Windows building, originally against 0.7.2 but with some other changes:

ygrek commented 9 years ago

Added workaround for TCP_NODELAY and cherry-picked other changes except Fix build process for mingw32

ygrek commented 9 years ago

@dra27 can you please check this patch on windows : https://gist.github.com/ygrek/e08356b73269367632b2

dra27 commented 9 years ago

Just trying the patch - how are these gist things supposed to work? I've downloaded the diff file, but all I get is:

C:\MetaStack\Projects\Working\ocurl>git apply gistfile1.diff
fatal: corrupt patch at line 93

Applying it by hand, but patch and anything else I'm trying seem to regard the diff as corrupt...

dra27 commented 9 years ago

Ah, actually I think the problem is the gistfile - you seem to have expanded the tabs to spaces! Anyway, I've tested that patch against 09f4c7a and it all seems to be working fine. Would it be OK to cut a release?

ygrek commented 9 years ago

Sorry for that and thanks for the patches and testing! I will do a release soon