mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
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.
This commit is contained in:
parent
316d4aca71
commit
7cee215f15
@ -125,12 +125,7 @@ typedef intptr_t ngx_flag_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
|
|
||||||
#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffffLL
|
|
||||||
#else
|
|
||||||
#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff
|
#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff
|
||||||
#endif
|
|
||||||
|
|
||||||
#define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff
|
#define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user