added INET_ADDRSTRLEN define in case system headers dont provide.

This commit is contained in:
Gunter Knauf 2009-07-04 11:27:42 +00:00
parent 6236198d43
commit 2aaff16a87
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,9 @@
#ifndef NI_MAXHOST
#define NI_MAXHOST 1025
#endif
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif
#ifdef __SYMBIAN32__
/* Symbian OS panics when given a timeout much greater than 1/2 hour */