mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 22:25:22 +00:00
Add OFF_T_MAX/OFF_T_MIN
This commit is contained in:
parent
0a4b345e9f
commit
527b997c3d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81718
|
@ -82,6 +82,9 @@
|
|||
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
|
||||
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
|
||||
|
||||
#define OFF_T_MAX LONG_MAX /* max value for a off_t */
|
||||
#define OFF_T_MIN LONG_MIN /* min value for a off_t */
|
||||
|
||||
/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
|
||||
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
|
||||
#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
|
||||
|
|
|
@ -82,6 +82,9 @@
|
|||
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
|
||||
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
|
||||
|
||||
#define OFF_T_MAX LONG_MAX /* max value for a off_t */
|
||||
#define OFF_T_MIN LONG_MIN /* min value for a off_t */
|
||||
|
||||
/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
|
||||
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
|
||||
#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
|
||||
|
|
|
@ -93,6 +93,9 @@
|
|||
#if !defined(_POSIX_SOURCE)
|
||||
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
|
||||
|
||||
#define OFF_T_MAX LLONG_MAX /* max value for a off_t */
|
||||
#define OFF_T_MIN LLONG_MIN /* min value for a off_t */
|
||||
|
||||
/* Quads and long longs are the same size. Ensure they stay in sync. */
|
||||
#define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */
|
||||
#define QUAD_MAX LLONG_MAX /* max value for a quad_t */
|
||||
|
|
|
@ -93,6 +93,9 @@
|
|||
#if !defined(_POSIX_SOURCE)
|
||||
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
|
||||
|
||||
#define OFF_T_MAX LLONG_MAX /* max value for a off_t */
|
||||
#define OFF_T_MIN LLONG_MIN /* min value for a off_t */
|
||||
|
||||
/* Quads and long longs are the same size. Ensure they stay in sync. */
|
||||
#define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */
|
||||
#define QUAD_MAX LLONG_MAX /* max value for a quad_t */
|
||||
|
|
Loading…
Reference in a new issue