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:
parent
1256d28554
commit
a63f466c48
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user