aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2017-04-19 21:02:49 +0300
committerPetri Lehtinen <petri@digip.org>2017-04-19 21:04:04 +0300
commit8fc5ef0aeb8eed2d48783404adef2d0832fc28ac (patch)
tree3e900ed536d77835445bb14c5748936eead77e45
parent98294c46b747b456c821abc3c7760a38178ee17e (diff)
downloadjansson-mingw.zip
jansson-mingw.tar.gz
jansson-mingw.tar.bz2
test_dump: Don't use pipe on MinGWmingw
-rw-r--r--test/suites/api/test_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suites/api/test_dump.c b/test/suites/api/test_dump.c
index 17c495a..044fe72 100644
--- a/test/suites/api/test_dump.c
+++ b/test/suites/api/test_dump.c
@@ -252,7 +252,7 @@ static void dumpb()
static void dumpfd()
{
-#ifdef HAVE_UNISTD_H
+#if defined(HAVE_UNISTD_H) && !defined(__MINGW32__)
int fds[2] = {-1, -1};
json_t *a, *b;