From e92ef1a1be15a1f01ded2679b294f61d713ca6d3 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 22 Oct 2012 13:48:57 +0000 Subject: [PATCH] Fixed compile error on Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5710 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-nogui/src/menu/stdiocomms.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroshare-nogui/src/menu/stdiocomms.cc b/retroshare-nogui/src/menu/stdiocomms.cc index 99d982616..132b8e89d 100644 --- a/retroshare-nogui/src/menu/stdiocomms.cc +++ b/retroshare-nogui/src/menu/stdiocomms.cc @@ -33,6 +33,8 @@ StdioComms::StdioComms(int infd, int outfd) :mIn(infd), mOut(outfd) { +// fcntl not available on Windows, search alternative when needed +#ifndef WINDOWS_SYS #if 1 // THIS Code is strange... // It seems to mess up stderr. @@ -57,6 +59,7 @@ StdioComms::StdioComms(int infd, int outfd) std::cerr << "StdioComms() STDERR msg 1"; std::cerr << std::endl; #endif +#endif // WINDOWS_SYS }