Following BSD standards

This commit is contained in:
Mikal Villa 2015-01-03 21:35:30 +01:00
parent 79d13eb6cb
commit f552f24e6e

View file

@ -18,7 +18,8 @@
* - 256 on mingw. * - 256 on mingw.
* *
* */ * */
#define HOST_NAME_MAX 256 #include <sys/param.h>
#define HOST_NAME_MAX MAXHOSTNAMELEN
#endif #endif
namespace i2p namespace i2p