mirror of https://github.com/akheron/jansson
test_dump: Don't use pipe on MinGW
This commit is contained in:
parent
98294c46b7
commit
8fc5ef0aeb
|
@ -252,7 +252,7 @@ static void dumpb()
|
||||||
|
|
||||||
static void dumpfd()
|
static void dumpfd()
|
||||||
{
|
{
|
||||||
#ifdef HAVE_UNISTD_H
|
#if defined(HAVE_UNISTD_H) && !defined(__MINGW32__)
|
||||||
int fds[2] = {-1, -1};
|
int fds[2] = {-1, -1};
|
||||||
json_t *a, *b;
|
json_t *a, *b;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue