comparison auto/os/linux @ 9070:a954b551dc3f quic

QUIC: improved SO_COOKIE configure test. In nginx source code the inttypes.h include, if available, is used to define standard integer types. Changed the SO_COOKIE configure test to follow this.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 24 Jan 2023 02:57:42 +0300
parents ce6d9cf0f567
children 0af598651e33
comparison
equal deleted inserted replaced
9069:03897c45798e 9070:a954b551dc3f
261 261
262 ngx_feature="SO_COOKIE" 262 ngx_feature="SO_COOKIE"
263 ngx_feature_name="NGX_HAVE_SO_COOKIE" 263 ngx_feature_name="NGX_HAVE_SO_COOKIE"
264 ngx_feature_run=no 264 ngx_feature_run=no
265 ngx_feature_incs="#include <sys/socket.h> 265 ngx_feature_incs="#include <sys/socket.h>
266 #include <stdint.h>" 266 $NGX_INCLUDE_INTTYPES_H"
267 ngx_feature_path= 267 ngx_feature_path=
268 ngx_feature_libs= 268 ngx_feature_libs=
269 ngx_feature_test="socklen_t optlen = sizeof(uint64_t); 269 ngx_feature_test="socklen_t optlen = sizeof(uint64_t);
270 uint64_t cookie; 270 uint64_t cookie;
271 getsockopt(0, SOL_SOCKET, SO_COOKIE, &cookie, &optlen)" 271 getsockopt(0, SOL_SOCKET, SO_COOKIE, &cookie, &optlen)"