Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tylertreat/chan
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertreat committed Sep 1, 2014
2 parents e3b874a + e8fba51 commit 3afdbc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/blocking_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
#include <stdlib.h>
#include <unistd.h>

#ifdef _WIN32
#include <stdio.h>
#include <fcntl.h>

int pipe(int pipefd[2])
{
return _pipe(pipefd, BUFSIZ, O_BINARY);
}
#endif

#include "blocking_pipe.h"


Expand Down

0 comments on commit 3afdbc2

Please sign in to comment.