[nginx] Configure: added uint8_t and uint16_t detection.

Maxim Dounin mdounin at mdounin.ru
Wed Jun 4 23:45:29 UTC 2025


details:   http://freenginx.org/hg/nginx/rev/863870a96371
branches:  
changeset: 9369:863870a96371
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Thu Jun 05 02:37:23 2025 +0300
description:
Configure: added uint8_t and uint16_t detection.

This fixes compilation on some old systems (though mostly for consistency
with uint32_t and uint64_t).

diffstat:

 auto/unix |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/auto/unix b/auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -645,6 +645,8 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_s
 
 NGX_INCLUDE_AUTO_CONFIG_H="#include \"ngx_auto_config.h\""
 
+ngx_type="uint8_t"; ngx_types="u_int8_t"; . auto/types/typedef
+ngx_type="uint16_t"; ngx_types="u_int16_t"; . auto/types/typedef
 ngx_type="uint32_t"; ngx_types="u_int32_t"; . auto/types/typedef
 ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef
 


More information about the nginx-devel mailing list