fix issue #426
This commit is contained in:
parent
672b6df474
commit
78ea35c8e9
@ -13,6 +13,10 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
#include <fcntl.h>
|
||||||
|
#define pipe(fds) _pipe(fds, 1024, _O_BINARY)
|
||||||
|
#endif
|
||||||
|
|
||||||
static int encode_null_callback(const char *buffer, size_t size, void *data)
|
static int encode_null_callback(const char *buffer, size_t size, void *data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user