_stdint.h (b1aa0ba527b758558ff81344d8eb0e173a00f6ae) _stdint.h (49545b3891a707a543faab07822d56d86c4ee73c)
1/*-
2 * Copyright (c) 2001, 2002 Mike Barcroft <mike@FreeBSD.org>
3 * Copyright (c) 2001 The NetBSD Foundation, Inc.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to The NetBSD Foundation
7 * by Klaus Klein.
8 *

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

32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 * $FreeBSD$
38 */
39
1/*-
2 * Copyright (c) 2001, 2002 Mike Barcroft <mike@FreeBSD.org>
3 * Copyright (c) 2001 The NetBSD Foundation, Inc.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to The NetBSD Foundation
7 * by Klaus Klein.
8 *

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

32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 * $FreeBSD$
38 */
39
40#ifndef _MACHINE__STDINT_H_
40#ifndef _MACHINE__STDINT_H_
41#define _MACHINE__STDINT_H_
42
43#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)
44
45#define INT8_C(c) (c)
46#define INT16_C(c) (c)
47#define INT32_C(c) (c)
48#define INT64_C(c) (c ## L)

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

155
156/* Limit of size_t. */
157#define SIZE_MAX UINT64_MAX
158
159#ifndef WCHAR_MIN /* Also possibly defined in <wchar.h> */
160/* Limits of wchar_t. */
161#define WCHAR_MIN INT32_MIN
162#define WCHAR_MAX INT32_MAX
41#define _MACHINE__STDINT_H_
42
43#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)
44
45#define INT8_C(c) (c)
46#define INT16_C(c) (c)
47#define INT32_C(c) (c)
48#define INT64_C(c) (c ## L)

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

155
156/* Limit of size_t. */
157#define SIZE_MAX UINT64_MAX
158
159#ifndef WCHAR_MIN /* Also possibly defined in <wchar.h> */
160/* Limits of wchar_t. */
161#define WCHAR_MIN INT32_MIN
162#define WCHAR_MAX INT32_MAX
163#endif
164
165/* Limits of wint_t. */
166#define WINT_MIN INT32_MIN
167#define WINT_MAX INT32_MAX
163
164/* Limits of wint_t. */
165#define WINT_MIN INT32_MIN
166#define WINT_MAX INT32_MAX
167#endif
168
169#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
170
171#endif /* !_MACHINE__STDINT_H_ */
168
169#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
170
171#endif /* !_MACHINE__STDINT_H_ */