From 78ea35c8e91489129c67e37df71ac86022ec59f9 Mon Sep 17 00:00:00 2001 From: AllenX2018 Date: Tue, 8 Oct 2019 16:19:40 +0800 Subject: fix issue #426 --- test/suites/api/test_dump.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/suites/api/test_dump.c b/test/suites/api/test_dump.c index cd4af63..c97a105 100644 --- a/test/suites/api/test_dump.c +++ b/test/suites/api/test_dump.c @@ -13,6 +13,10 @@ #include #endif #include "util.h" +#ifdef __MINGW32__ +#include +#define pipe(fds) _pipe(fds, 1024, _O_BINARY) +#endif static int encode_null_callback(const char *buffer, size_t size, void *data) { -- cgit v1.1