diff options
Diffstat (limited to 'graphics/asymptote/pipestream.h')
-rw-r--r-- | graphics/asymptote/pipestream.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/asymptote/pipestream.h b/graphics/asymptote/pipestream.h index eedad63f6b..1ccab7ecde 100644 --- a/graphics/asymptote/pipestream.h +++ b/graphics/asymptote/pipestream.h @@ -19,11 +19,15 @@ #ifndef PIPESTREAM_H #define PIPESTREAM_H +#if defined(_WIN32) + +#include "win32pipestream.h" +typedef w32::Win32IoPipeStream iopipestream; + +#else #include <sys/wait.h> #include <unistd.h> -#include <fcntl.h> - #include "common.h" // bidirectional stream for reading and writing to pipes @@ -103,3 +107,4 @@ public: }; #endif +#endif |