Welcome! Log In Create A New Profile

Advanced

[nginx] Core: removed incorrect GCC 2.7 check.

Maxim Dounin
April 01, 2016 06:36AM
details: http://hg.nginx.org/nginx/rev/5805301f990f
branches:
changeset: 6494:5805301f990f
user: Maxim Dounin <mdounin@mdounin.ru>
date: Fri Apr 01 13:17:12 2016 +0300
description:
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.

diffstat:

src/core/ngx_config.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diffs (16 lines):

diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
--- 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



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Core: removed incorrect GCC 2.7 check.

Maxim Dounin 373 April 01, 2016 06:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 277
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready