win: use _fdopen instead of fdopen

The POSIX function fdopen is deprecated.
Use the ISO C++ conformant _fdopen instead.
https://msdn.microsoft.com/library/ms235351.aspx

fixes #73
This commit is contained in:
Fumitoshi Ukai 2015-12-17 15:40:25 +09:00
parent 1256d28554
commit a63f466c48

View File

@ -88,6 +88,10 @@ using std::perror;
using std::fdopen;
#endif
#ifdef _WIN32
#define fdopen _fdopen
#endif
// There is no thread annotation support.
#define EXCLUSIVE_LOCKS_REQUIRED(mu)