Fixed .net plugin errors on Mac

This commit is contained in:
Don BURNS 2004-09-02 20:42:28 +00:00
parent 21691f2d56
commit 83b94144b4
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
// The constructors of isockinet, osockinet and iosockinet are changed. // The constructors of isockinet, osockinet and iosockinet are changed.
#include "sockinet.h" #include "sockinet.h"
#if defined(__APPLE) #if defined(__APPLE__)
typedef int socklen_t; typedef int socklen_t;
#endif #endif

View File

@ -64,7 +64,7 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#if defined(__APPLE__) #if defined(__APPLE__)
#typedef int socklen_t; typedef int socklen_t;
#endif #endif
#ifndef WIN32 #ifndef WIN32