libpcp / pcp

PCP client library
BSD 2-Clause "Simplified" License
69 stars 30 forks source link

Windows compilation fixes #23

Closed MartinPulec closed 2 years ago

MartinPulec commented 2 years ago

Hi, thanks for the great software.

I'd like to ask you, if you can check following set of changes. I've created it in one commit - if you wish, I can separate it into more commits but it is one unit from my point of view - support for MSYS2.

The core of changes is in the build system. Please see also the commit message. I've also removed stdint.h compat because nowadays it is rarely not present. I've also needed to comment out some functions - I don't know if it needs to be defined in 2 places but the one occurrence from the lib interferes with the other. If I misunderstood this, pleas let me know.

Thanks a lot for your time!

ptatrai commented 2 years ago

Thank you for the fix. It looks good to me