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.
|
// 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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user