comparison src/core/ngx_config.h @ 2011:b56d4b1ebac7

$hostname variable
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 May 2008 14:39:06 +0000
parents f69d1aab6a0f
children 345a014436d4
comparison
equal deleted inserted replaced
2010:bd6cc5370fc1 2011:b56d4b1ebac7
114 114
115 #ifndef INET_ADDRSTRLEN /* Win32 */ 115 #ifndef INET_ADDRSTRLEN /* Win32 */
116 #define INET_ADDRSTRLEN 16 116 #define INET_ADDRSTRLEN 16
117 #endif 117 #endif
118 118
119 #define NGX_MAXHOSTNAMELEN 64 119 #ifdef MAXHOSTNAMELEN
120 /* 120 #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
121 #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN 121 #else
122 */ 122 #define NGX_MAXHOSTNAMELEN 256
123 #endif
123 124
124 125
125 #if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8)) 126 #if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
126 #define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffffLL 127 #define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffffLL
127 #else 128 #else