Fixed .net plugin errors on Mac
This commit is contained in:
parent
21691f2d56
commit
83b94144b4
@ -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
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#if defined(__APPLE__)
|
||||
#typedef int socklen_t;
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user