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

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

28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)limits.h 8.3 (Berkeley) 1/4/94
34 * From: NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp
35 * From: FreeBSD: src/sys/alpha/include/limits.h,v 1.8 2001/11/02
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

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

28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)limits.h 8.3 (Berkeley) 1/4/94
34 * From: NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp
35 * From: FreeBSD: src/sys/alpha/include/limits.h,v 1.8 2001/11/02
36 * $FreeBSD: head/sys/amd64/include/_limits.h 108175 2002-12-22 06:38:45Z tjr $
36 * $FreeBSD: head/sys/amd64/include/_limits.h 108533 2003-01-01 18:49:04Z schweikh $
37 */
38
39#ifndef _MACHINE_LIMITS_H_
40#define _MACHINE_LIMITS_H_
41
42#define CHAR_BIT 8 /* number of bits in a char */
43
44/*

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

77#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */
78
79#if !defined(_ANSI_SOURCE)
80#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
81
82#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
83#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
84
37 */
38
39#ifndef _MACHINE_LIMITS_H_
40#define _MACHINE_LIMITS_H_
41
42#define CHAR_BIT 8 /* number of bits in a char */
43
44/*

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

77#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min for a long long */
78
79#if !defined(_ANSI_SOURCE)
80#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
81
82#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
83#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
84
85#define OFF_MAX LONG_MAX /* max value for a off_t */
86#define OFF_MIN LONG_MIN /* min value for a off_t */
85#define OFF_MAX LONG_MAX /* max value for an off_t */
86#define OFF_MIN LONG_MIN /* min value for an off_t */
87
88/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
89#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
90#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
91#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
92#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
93#endif /* !_ANSI_SOURCE */
94

--- 14 unchanged lines hidden ---
87
88/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
89#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
90#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
91#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
92#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
93#endif /* !_ANSI_SOURCE */
94

--- 14 unchanged lines hidden ---