From e928efc7a4e3ee080d7d499e0ee8a541b3c5e56b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 3 Oct 2007 10:36:59 +0000 Subject: [PATCH] From Alberto Luaces, build fix for Cygwin. --- src/osgPlugins/net/sockstream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/net/sockstream.cpp b/src/osgPlugins/net/sockstream.cpp index 27886ced0..028c8f118 100644 --- a/src/osgPlugins/net/sockstream.cpp +++ b/src/osgPlugins/net/sockstream.cpp @@ -921,8 +921,8 @@ bool sockbuf::atmark () const return arg!=0; } -#if !defined(WIN32) -//#if !(defined(__CYGWIN__) || defined(WIN32)) +//#if !defined(WIN32) +#if !(defined(__CYGWIN__) || defined(WIN32)) int sockbuf::pgrp () const // return the process group id that would receive SIGIO and SIGURG // signals