Revert "posix/osx: fix type conflict on OSX native"
This reverts commit dcebfb11bc5a861c711e58838eec5b0131d020e2.
This commit is contained in:
parent
ea52528171
commit
ed4932362d
@ -28,12 +28,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __MACH__
|
|
||||||
typedef size_t socklen_t; /**< socket address length */
|
typedef size_t socklen_t; /**< socket address length */
|
||||||
#else
|
|
||||||
/* Defined for OSX with a different type */
|
|
||||||
typedef __darwin_socklen_t socklen_t; /**< socket address length */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user