summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-04-01 13:17:12 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-04-01 13:17:12 +0300
commit7cee215f15cf91e40fe5709485e60655292e2c67 (patch)
tree8ac20bf0802b750081f55d1b2f8afe1944372c88
parent316d4aca717339ed48de2f2a9d9fdb5ee48393e0 (diff)
downloadnginx-7cee215f15cf91e40fe5709485e60655292e2c67.tar.gz
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.
-rw-r--r--src/core/ngx_config.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 145e43a44..a0bfa63cd 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -125,12 +125,7 @@ typedef intptr_t ngx_flag_t;
#endif
-#if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
-#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffffLL
-#else
#define NGX_MAX_UINT32_VALUE (uint32_t) 0xffffffff
-#endif
-
#define NGX_MAX_INT32_VALUE (uint32_t) 0x7fffffff