From 83b94144b452352b046f36496d1f68b97d025756 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Thu, 2 Sep 2004 20:42:28 +0000 Subject: [PATCH] Fixed .net plugin errors on Mac --- src/osgPlugins/net/sockinet.cpp | 2 +- src/osgPlugins/net/sockstream.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/net/sockinet.cpp b/src/osgPlugins/net/sockinet.cpp index 3bace2f5f..87de66100 100644 --- a/src/osgPlugins/net/sockinet.cpp +++ b/src/osgPlugins/net/sockinet.cpp @@ -34,7 +34,7 @@ // The constructors of isockinet, osockinet and iosockinet are changed. #include "sockinet.h" -#if defined(__APPLE) +#if defined(__APPLE__) typedef int socklen_t; #endif diff --git a/src/osgPlugins/net/sockstream.cpp b/src/osgPlugins/net/sockstream.cpp index 3da9a914c..b11c84df6 100644 --- a/src/osgPlugins/net/sockstream.cpp +++ b/src/osgPlugins/net/sockstream.cpp @@ -64,7 +64,7 @@ #include #include #if defined(__APPLE__) -#typedef int socklen_t; +typedef int socklen_t; #endif #ifndef WIN32