diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
commit | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (patch) | |
tree | 856b0dee3f2764c13a32dad5ffe2424fab7fef41 /defines.h | |
parent | 4213eec74e74de6310c27a40c3e9759a08a73996 (diff) | |
parent | 8aa3455b16fddea4c0144a7c4a1edb10ec67dcc8 (diff) |
Import openssh_8.2p1.orig.tar.gz
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -96,6 +96,9 @@ enum | |||
96 | #ifndef IPTOS_DSCP_EF | 96 | #ifndef IPTOS_DSCP_EF |
97 | # define IPTOS_DSCP_EF 0xb8 | 97 | # define IPTOS_DSCP_EF 0xb8 |
98 | #endif /* IPTOS_DSCP_EF */ | 98 | #endif /* IPTOS_DSCP_EF */ |
99 | #ifndef IPTOS_DSCP_LE | ||
100 | # define IPTOS_DSCP_LE 0x01 | ||
101 | #endif /* IPTOS_DSCP_LE */ | ||
99 | #ifndef IPTOS_PREC_CRITIC_ECP | 102 | #ifndef IPTOS_PREC_CRITIC_ECP |
100 | # define IPTOS_PREC_CRITIC_ECP 0xa0 | 103 | # define IPTOS_PREC_CRITIC_ECP 0xa0 |
101 | #endif | 104 | #endif |
@@ -251,6 +254,14 @@ typedef unsigned int u_int32_t; | |||
251 | #define __BIT_TYPES_DEFINED__ | 254 | #define __BIT_TYPES_DEFINED__ |
252 | #endif | 255 | #endif |
253 | 256 | ||
257 | #ifndef UINT32_MAX | ||
258 | # if defined(HAVE_DECL_UINT32_MAX) && (HAVE_DECL_UINT32_MAX == 0) | ||
259 | # if (SIZEOF_INT == 4) | ||
260 | # define UINT32_MAX UINT_MAX | ||
261 | # endif | ||
262 | # endif | ||
263 | #endif | ||
264 | |||
254 | /* 64-bit types */ | 265 | /* 64-bit types */ |
255 | #ifndef HAVE_INT64_T | 266 | #ifndef HAVE_INT64_T |
256 | # if (SIZEOF_LONG_INT == 8) | 267 | # if (SIZEOF_LONG_INT == 8) |
@@ -333,6 +344,7 @@ typedef unsigned int size_t; | |||
333 | 344 | ||
334 | #ifndef HAVE_SSIZE_T | 345 | #ifndef HAVE_SSIZE_T |
335 | typedef int ssize_t; | 346 | typedef int ssize_t; |
347 | #define SSIZE_MAX INT_MAX | ||
336 | # define HAVE_SSIZE_T | 348 | # define HAVE_SSIZE_T |
337 | #endif /* HAVE_SSIZE_T */ | 349 | #endif /* HAVE_SSIZE_T */ |
338 | 350 | ||