_types.h (127239) | _types.h (143063) |
---|---|
1/*- 2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 35 * From: @(#)types.h 8.3 (Berkeley) 1/5/94 | 1/*- 2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 35 * From: @(#)types.h 8.3 (Berkeley) 1/5/94 |
36 * $FreeBSD: head/sys/ia64/include/_types.h 127239 2004-03-20 20:41:40Z marcel $ | 36 * $FreeBSD: head/sys/ia64/include/_types.h 143063 2005-03-02 21:33:29Z joerg $ |
37 */ 38 39#ifndef _MACHINE__TYPES_H_ 40#define _MACHINE__TYPES_H_ 41 | 37 */ 38 39#ifndef _MACHINE__TYPES_H_ 40#define _MACHINE__TYPES_H_ 41 |
42#ifndef _SYS_CDEFS_H_ 43#error this file needs sys/cdefs.h as a prerequisite 44#endif 45 |
|
42/* 43 * Basic types upon which most other types are built. 44 */ 45typedef __signed char __int8_t; 46typedef unsigned char __uint8_t; 47typedef short __int16_t; 48typedef unsigned short __uint16_t; 49typedef int __int32_t; --- 42 unchanged lines hidden (view full) --- 92typedef __int64_t __vm_ooffset_t; 93typedef __uint64_t __vm_paddr_t; 94typedef __uint64_t __vm_pindex_t; 95typedef __uint64_t __vm_size_t; 96 97/* 98 * Unusual type definitions. 99 */ | 46/* 47 * Basic types upon which most other types are built. 48 */ 49typedef __signed char __int8_t; 50typedef unsigned char __uint8_t; 51typedef short __int16_t; 52typedef unsigned short __uint16_t; 53typedef int __int32_t; --- 42 unchanged lines hidden (view full) --- 96typedef __int64_t __vm_ooffset_t; 97typedef __uint64_t __vm_paddr_t; 98typedef __uint64_t __vm_pindex_t; 99typedef __uint64_t __vm_size_t; 100 101/* 102 * Unusual type definitions. 103 */ |
100#ifdef __GNUC__ | 104#ifdef __GNUCLIKE_BUILTIN_VARARGS |
101typedef __builtin_va_list __va_list; /* internally known to gcc */ | 105typedef __builtin_va_list __va_list; /* internally known to gcc */ |
102#if !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) | 106#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \ 107 && !defined(__NO_GNUC_VA_LIST) |
103#define __GNUC_VA_LIST 104typedef __va_list __gnuc_va_list; /* compat. with GNU headers */ 105#endif 106#else 107#ifdef lint 108typedef char * __va_list; /* non-functional */ 109#else 110#error Must add va_list support for this non-GCC compiler. 111#endif /* lint */ | 108#define __GNUC_VA_LIST 109typedef __va_list __gnuc_va_list; /* compat. with GNU headers */ 110#endif 111#else 112#ifdef lint 113typedef char * __va_list; /* non-functional */ 114#else 115#error Must add va_list support for this non-GCC compiler. 116#endif /* lint */ |
112#endif /* __GNUC__ */ | 117#endif /* __GNUCLIKE_BUILTIN_VARARGS */ |
113 114#endif /* !_MACHINE__TYPES_H_ */ | 118 119#endif /* !_MACHINE__TYPES_H_ */ |