Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ETIMEDOUT私のプラットフォーム(MinGW)は、とりわけマクロを定義していません。別の質問で、これはGnuLibで修正できることが示唆されました。
ETIMEDOUT
これを実行したいのですが、GnuLibを使用したいプロジェクトはAutotoolsも使用する必要があるようです。私のプロジェクトにはMakefileがあります。
Autotoolsも追加せずにプラットフォームをGnuLibで補完するにはどうすればよいですか?
gnulib..
#ifndef ETIMTDOUT #define ETIMEDOUT 10060 //if you have WSAETIMEDOUT defined, then you can just //#define ETIMEOUT WSAETIMEDOUT #endif