Deleted Added
full compact
limits.h (108175) limits.h (108533)
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * @(#)limits.h 8.3 (Berkeley) 1/4/94
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * @(#)limits.h 8.3 (Berkeley) 1/4/94
27 * $FreeBSD: head/sys/sparc64/include/limits.h 108175 2002-12-22 06:38:45Z tjr $
27 * $FreeBSD: head/sys/sparc64/include/limits.h 108533 2003-01-01 18:49:04Z schweikh $
28 */
29
30#ifndef _MACHINE_LIMITS_H_
31#define _MACHINE_LIMITS_H_
32
33#define CHAR_BIT 8 /* number of bits in a char */
34
35/*

--- 32 unchanged lines hidden (view full) ---

68#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */
69
70#if !defined(_ANSI_SOURCE)
71#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
72
73#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
74#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
75
28 */
29
30#ifndef _MACHINE_LIMITS_H_
31#define _MACHINE_LIMITS_H_
32
33#define CHAR_BIT 8 /* number of bits in a char */
34
35/*

--- 32 unchanged lines hidden (view full) ---

68#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */
69
70#if !defined(_ANSI_SOURCE)
71#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
72
73#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
74#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
75
76#define OFF_MAX LONG_MAX /* max value for a off_t */
77#define OFF_MIN LONG_MIN /* min value for a off_t */
76#define OFF_MAX LONG_MAX /* max value for an off_t */
77#define OFF_MIN LONG_MIN /* min value for an off_t */
78
79/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
80#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
81#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
82#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
83#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
84#endif /* !_ANSI_SOURCE */
85

--- 14 unchanged lines hidden ---
78
79/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
80#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
81#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
82#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
83#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
84#endif /* !_ANSI_SOURCE */
85

--- 14 unchanged lines hidden ---