mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 13:35:05 +00:00
fix issue #426
This commit is contained in:
parent
672b6df474
commit
78ea35c8e9
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
#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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue