comparison src/core/ngx_config.h @ 6494:5805301f990f

Core: removed incorrect GCC 2.7 check. It was broken since introduction (__GNU__ instead of __GNUC__) and did nothing. Moreover, GCC 2.7 is happy with the normal version of the code. Reported by Joel Cunningham, http://mailman.nginx.org/pipermail/nginx-devel/2016-March/007964.html.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 01 Apr 2016 13:17:12 +0300
parents b92d5a26d55f
children d200a0fd00b7
comparison
equal deleted inserted replaced
6493:58b2ad162ca9 6494:5805301f990f
123 #else 123 #else
124 #define NGX_MAXHOSTNAMELEN 256 124 #define NGX_MAXHOSTNAMELEN 256
125 #endif 125 #endif
126 126
127 127
128 #if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
129 #define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffffLL
130 #else
131 #define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff 128 #define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff
132 #endif
133
134 #define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff 129 #define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff
135 130
136 131
137 #endif /* _NGX_CONFIG_H_INCLUDED_ */ 132 #endif /* _NGX_CONFIG_H_INCLUDED_ */