[monkey-bubble: 733/753] Map pipe() to _pipe() on Win32.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 733/753] Map pipe() to _pipe() on Win32.
- Date: Wed, 14 Jul 2010 22:57:19 +0000 (UTC)
commit 550253b0e74cc76a185df11a148d200be83f1383
Author: Tor Lillqvist <tml novell com>
Date: Fri Oct 19 13:31:01 2007 +0000
Map pipe() to _pipe() on Win32.
2007-10-19 Tor Lillqvist <tml novell com>
* libgnome/gnome-score.c: Map pipe() to _pipe() on Win32.
svn path=/trunk/; revision=3541
libgnome/gnome-score.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnome/gnome-score.c b/libgnome/gnome-score.c
index 1e5677b..c2d9278 100644
--- a/libgnome/gnome-score.c
+++ b/libgnome/gnome-score.c
@@ -53,6 +53,8 @@
#include <fcntl.h>
#include <io.h>
+#define pipe(fds) _pipe(fds, 4096, _O_BINARY)
+
/* Microsoft's strtok() *is* thread-safe, it uses a thread-local
* buffer. "Use" the third argument to this macro so gcc doesn't
* complain about an unused variable, and we don't have to ifdef out
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]