From 2ae269c447cd36d79d90e35422b221ab7d8f487d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 8 Apr 2005 14:11:15 +0000 Subject: [PATCH] From Olad Flebbe, compile fix for HP-UX. --- src/osgPlugins/net/sockstream.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/osgPlugins/net/sockstream.cpp b/src/osgPlugins/net/sockstream.cpp index 768aacd96..710740b4e 100644 --- a/src/osgPlugins/net/sockstream.cpp +++ b/src/osgPlugins/net/sockstream.cpp @@ -77,9 +77,6 @@ extern "C" { # include } #else - -typedef int socklen_t; - # define EWOULDBLOCK WSAEWOULDBLOCK # define EINPROGRESS WSAEINPROGRESS # define EALREADY WSAEALREADY @@ -130,7 +127,7 @@ typedef int socklen_t; #include #endif -#if defined( __sgi ) || defined (__hpux) +#ifdef __sgi typedef int socklen_t; #endif