]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
vtls_spack: drop redundant macro fallbacks
authorViktor Szakats <commit@vsz.me>
Wed, 27 May 2026 08:24:40 +0000 (10:24 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 27 May 2026 14:53:57 +0000 (16:53 +0200)
For `UINT16_MAX` and `UINT32_MAX`. They are used in other sources
without this fallback.

Closes #21768

lib/vtls/vtls_spack.c

index d633dcba4aef7f6f10e150995b60e2017658eb62..c6f0921311abe09a5762ca35ba0995171c2d8047 100644 (file)
 #include "vtls/vtls_spack.h"
 #include "curlx/strdup.h"
 
-#ifndef UINT16_MAX
-#define UINT16_MAX    0xffff
-#endif
-#ifndef UINT32_MAX
-#define UINT32_MAX    0xffffffff
-#endif
-
 #define CURL_SPACK_VERSION       0x01
 #define CURL_SPACK_IETF_ID       0x02
 #define CURL_SPACK_VALID_UNTIL   0x03