replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
This commit is contained in:
parent
9857da78ba
commit
c5fd828440
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.14 2000/12/26 10:35:28 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.15 2001/01/03 10:08:55 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -40,6 +40,8 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -96,7 +98,7 @@ typedef struct {
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:51 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:08:56 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -50,8 +50,13 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
typedef long int __int64_t;
|
||||
typedef unsigned long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.17 2000/12/13 03:16:39 mycroft Exp $ */
|
||||
/* $NetBSD: types.h,v 1.18 2001/01/03 10:08:56 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -39,6 +39,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -59,14 +60,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
typedef long int64_t;
|
||||
typedef unsigned long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int64_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.5 2000/12/28 03:52:50 matt Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.6 2001/01/03 10:08:57 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.3 2000/12/29 22:42:24 bjh21 Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.4 2001/01/03 10:08:57 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.1 2000/05/09 21:56:01 bjh21 Exp $ */
|
||||
/* $NetBSD: types.h,v 1.2 2001/01/03 10:08:57 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _ARM32_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/* NB: This should probably be if defined(_KERNEL) */
|
||||
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
|
||||
@ -56,16 +57,14 @@ typedef vm_size_t vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.10 2000/12/26 10:35:28 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.11 2001/01/03 10:08:58 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:52 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:08:58 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.12 2000/12/12 18:26:44 mycroft Exp $ */
|
||||
/* $NetBSD: types.h,v 1.13 2001/01/03 10:08:58 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _ARM32_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t { /* Used by setjmp & longjmp */
|
||||
@ -62,16 +63,14 @@ typedef vm_size_t vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.14 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.15 2001/01/03 10:08:59 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -40,6 +40,8 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -91,7 +93,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.3 2000/07/16 02:18:11 christos Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.4 2001/01/03 10:08:59 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.25 2000/12/11 05:29:00 mycroft Exp $ */
|
||||
/* $NetBSD: types.h,v 1.26 2001/01/03 10:08:59 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -59,16 +60,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.12 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.13 2001/01/03 10:08:59 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:53 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:00 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.12 1998/08/13 02:10:38 eeh Exp $ */
|
||||
/* $NetBSD: types.h,v 1.13 2001/01/03 10:09:00 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -38,6 +38,7 @@
|
||||
#define _M68K_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t { /* consistent with HP-UX */
|
||||
@ -61,16 +62,14 @@ typedef vm_size_t vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.13 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.14 2001/01/03 10:09:00 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:53 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:01 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -53,10 +53,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.24 2000/06/09 04:37:51 soda Exp $ */
|
||||
/* $NetBSD: types.h,v 1.25 2001/01/03 10:09:01 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -42,6 +42,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Note that mips_reg_t is distinct from the register_t defined
|
||||
@ -88,16 +89,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.13 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.14 2001/01/03 10:09:01 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:53 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:01 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.23 2000/05/16 05:45:49 thorpej Exp $ */
|
||||
/* $NetBSD: types.h,v 1.24 2001/01/03 10:09:01 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _MACHINE_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -59,16 +60,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.10 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.11 2001/01/03 10:09:02 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -90,7 +92,7 @@ typedef struct {
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:53 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:02 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1995 Wolfgang Solfrank.
|
||||
@ -46,10 +46,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.9 2000/06/11 16:32:45 tsubai Exp $ */
|
||||
/* $NetBSD: types.h,v 1.10 2001/01/03 10:09:02 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1995 Wolfgang Solfrank.
|
||||
@ -35,6 +35,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -58,16 +59,14 @@ typedef vm_size_t vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.4 2000/12/26 10:35:29 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.5 2001/01/03 10:09:03 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:54 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:03 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.3 2000/09/04 22:18:43 tsubai Exp $ */
|
||||
/* $NetBSD: types.h,v 1.4 2001/01/03 10:09:03 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -62,16 +63,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.12 2000/12/26 10:35:30 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.13 2001/01/03 10:09:03 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:54 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:04 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -60,6 +60,10 @@ typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
#ifdef __arch64__
|
||||
/* 64-bit compiler */
|
||||
typedef long int __int64_t;
|
||||
@ -71,6 +75,7 @@ typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
#endif /* !__COMPILER_INT64__ */
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.21 2000/12/04 01:33:36 mrg Exp $ */
|
||||
/* $NetBSD: types.h,v 1.22 2001/01/03 10:09:04 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -52,6 +52,7 @@
|
||||
#endif
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -64,24 +65,14 @@ typedef struct label_t {
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
|
||||
#ifdef __arch64__
|
||||
/* 64-bit compiler */
|
||||
typedef long int64_t;
|
||||
typedef unsigned long u_int64_t;
|
||||
#else
|
||||
/* 32-bit compiler */
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
#endif
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
/* The following are unsigned to prevent annoying sign extended pointers. */
|
||||
typedef unsigned long register_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.6 2000/12/26 10:35:30 itojun Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.7 2001/01/03 10:09:04 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _ANSI_H_
|
||||
#define _ANSI_H_
|
||||
|
||||
#include <machine/int_types.h>
|
||||
|
||||
/*
|
||||
* Types which are fundamental to the implementation and may appear in
|
||||
* more than one standard header are defined here. Standard headers
|
||||
@ -85,7 +87,7 @@
|
||||
*/
|
||||
typedef union {
|
||||
char __mbstate8[128];
|
||||
long long __mbstateL; /* for alignment */
|
||||
__int64_t __mbstateL; /* for alignment */
|
||||
} __mbstate_t;
|
||||
#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.3 2000/06/27 08:43:02 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.4 2001/01/03 10:09:05 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -60,6 +60,10 @@ typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
#ifdef __arch64__
|
||||
/* 64-bit compiler */
|
||||
typedef long int __int64_t;
|
||||
@ -71,6 +75,7 @@ typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
#endif /* !__COMPILER_INT64__ */
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.13 2000/12/04 09:56:56 mrg Exp $ */
|
||||
/* $NetBSD: types.h,v 1.14 2001/01/03 10:09:05 takemura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -52,6 +52,7 @@
|
||||
#endif
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -64,24 +65,14 @@ typedef struct label_t {
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
|
||||
#ifdef __arch64__
|
||||
/* 64-bit compiler */
|
||||
typedef long int64_t;
|
||||
typedef unsigned long u_int64_t;
|
||||
#else
|
||||
/* 32-bit compiler */
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
#endif
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
/* The following are unsigned to prevent annoying sign extended pointers. */
|
||||
typedef unsigned long register_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: int_types.h,v 1.2 2000/06/27 04:58:54 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.3 2001/01/03 10:09:05 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -50,10 +50,15 @@ typedef short int __int16_t;
|
||||
typedef unsigned short int __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
#ifdef __COMPILER_INT64__
|
||||
typedef __COMPILER_INT64__ __int64_t;
|
||||
typedef unsigned __COMPILER_INT64__ __uint64_t;
|
||||
#else
|
||||
/* LONGLONG */
|
||||
typedef long long int __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long int __uint64_t;
|
||||
#endif
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.18 2000/03/04 07:27:49 matt Exp $ */
|
||||
/* $NetBSD: types.h,v 1.19 2001/01/03 10:09:05 takemura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,6 +39,7 @@
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/int_types.h>
|
||||
|
||||
#if defined(_KERNEL)
|
||||
typedef struct label_t {
|
||||
@ -59,16 +60,14 @@ typedef unsigned long vsize_t;
|
||||
* not possible for a machine/compiler combination.
|
||||
*/
|
||||
#define __BIT_TYPES_DEFINED__
|
||||
typedef __signed char int8_t;
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef short int16_t;
|
||||
typedef unsigned short u_int16_t;
|
||||
typedef int int32_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
/* LONGLONG */
|
||||
typedef long long int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef __int8_t int8_t;
|
||||
typedef __uint8_t u_int8_t;
|
||||
typedef __int16_t int16_t;
|
||||
typedef __uint16_t u_int16_t;
|
||||
typedef __int32_t int32_t;
|
||||
typedef __uint32_t u_int32_t;
|
||||
typedef __int64_t int64_t;
|
||||
typedef __uint64_t u_int64_t;
|
||||
|
||||
typedef int32_t register_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user