My platform (MinGW) does not define the macro ETIMEDOUT
, among others. It was suggested in another question that this can be fixed with GnuLib.
I would like to do this but it appears any project wishing to use GnuLib must also use Autotools. My project simply has a Makefile.
How could I supplement my platform with GnuLib without adding Autotools as well?
You can make it easier, just add the folliwng in your header file instead of something like gnulib..
#ifndef ETIMTDOUT
#define ETIMEDOUT 10060
//if you have WSAETIMEDOUT defined, then you can just
//#define ETIMEOUT WSAETIMEDOUT
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With