diff options
author | Petri Lehtinen <petri@digip.org> | 2017-04-19 21:02:49 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2017-04-19 21:04:04 +0300 |
commit | 8fc5ef0aeb8eed2d48783404adef2d0832fc28ac (patch) | |
tree | 3e900ed536d77835445bb14c5748936eead77e45 /test/suites/api/test_dump.c | |
parent | 98294c46b747b456c821abc3c7760a38178ee17e (diff) | |
download | jansson-mingw.zip jansson-mingw.tar.gz jansson-mingw.tar.bz2 |
test_dump: Don't use pipe on MinGWmingw
Diffstat (limited to 'test/suites/api/test_dump.c')
-rw-r--r-- | test/suites/api/test_dump.c | 2 |
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; |