mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Fix Mac OSX build error.
This commit is contained in:
parent
729cc4330e
commit
79d13eb6cb
2 changed files with 19 additions and 1 deletions
13
SOCKS.h
13
SOCKS.h
|
@ -8,6 +8,19 @@
|
|||
#include "Streaming.h"
|
||||
#include "I2PTunnel.h"
|
||||
|
||||
#ifdef MAC_OSX
|
||||
/*
|
||||
* - MAXHOSTNAMELEN from <sys/param.h>
|
||||
* on MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
|
||||
* IRIX 6.5, OSF/1 5.1, Interix 3.5, Haiku,
|
||||
* - MAXHOSTNAMELEN from <netdb.h>
|
||||
* on Solaris 10, Cygwin, BeOS,
|
||||
* - 256 on mingw.
|
||||
*
|
||||
* */
|
||||
#define HOST_NAME_MAX 256
|
||||
#endif
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
namespace proxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue