Do not rely on glib having pipe() macro defined
parent
f2dca8f98a
commit
b4cd452a2d
|
@ -21,6 +21,16 @@
|
|||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef __WIN32__
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
#ifndef pipe
|
||||
#define pipe(phandles) _pipe (phandles, 4096, _O_BINARY)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct {
|
||||
MooEventQueueCallback callback;
|
||||
|
|
Loading…
Reference in New Issue