Skip to content

Commit

Permalink
Revert "posix/osx: fix type conflict on OSX native"
Browse files Browse the repository at this point in the history
This reverts commit dcebfb1.
  • Loading branch information
cladmi authored and maxvankessel committed Apr 20, 2018
1 parent 759336d commit 8cdca68
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sys/posix/include/sys/bytes.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
extern "C" {
#endif

#ifndef __MACH__
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
}
Expand Down

0 comments on commit 8cdca68

Please sign in to comment.