os/ossrv/genericopenlibs/openenvcore/include/stdint.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*-
sl@0
     2
 * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
sl@0
     3
 * All rights reserved.
sl@0
     4
 *
sl@0
     5
 * Redistribution and use in source and binary forms, with or without
sl@0
     6
 * modification, are permitted provided that the following conditions
sl@0
     7
 * are met:
sl@0
     8
 * 1. Redistributions of source code must retain the above copyright
sl@0
     9
 *    notice, this list of conditions and the following disclaimer.
sl@0
    10
 * 2. Redistributions in binary form must reproduce the above copyright
sl@0
    11
 *    notice, this list of conditions and the following disclaimer in the
sl@0
    12
 *    documentation and/or other materials provided with the distribution.
sl@0
    13
 *
sl@0
    14
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
sl@0
    15
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
sl@0
    16
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
sl@0
    17
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
sl@0
    18
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
sl@0
    19
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
sl@0
    20
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
sl@0
    21
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
sl@0
    22
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
sl@0
    23
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
sl@0
    24
 * SUCH DAMAGE.
sl@0
    25
 *
sl@0
    26
 * $FreeBSD: src/sys/sys/stdint.h,v 1.4 2002/08/21 16:20:01 mike Exp $
sl@0
    27
 */
sl@0
    28
sl@0
    29
#ifndef _SYS_STDINT_H_
sl@0
    30
#define _SYS_STDINT_H_
sl@0
    31
sl@0
    32
#include <sys/cdefs.h>
sl@0
    33
#include <sys/_types.h>
sl@0
    34
sl@0
    35
#include <stdapis/machine/_stdint.h>
sl@0
    36
sl@0
    37
#ifndef _INT8_T_DECLARED
sl@0
    38
typedef	__int8_t		int8_t;
sl@0
    39
#define	_INT8_T_DECLARED
sl@0
    40
#endif
sl@0
    41
sl@0
    42
#ifndef _INT16_T_DECLARED
sl@0
    43
typedef	__int16_t		int16_t;
sl@0
    44
#define	_INT16_T_DECLARED
sl@0
    45
#endif
sl@0
    46
sl@0
    47
#ifndef _INT32_T_DECLARED
sl@0
    48
typedef	__int32_t		int32_t;
sl@0
    49
#define	_INT32_T_DECLARED
sl@0
    50
#endif
sl@0
    51
sl@0
    52
#ifndef _INT64_T_DECLARED
sl@0
    53
typedef	__int64_t		int64_t;
sl@0
    54
#define	_INT64_T_DECLARED
sl@0
    55
#endif
sl@0
    56
sl@0
    57
#ifndef _UINT8_T_DECLARED
sl@0
    58
typedef	__uint8_t		uint8_t;
sl@0
    59
#define	_UINT8_T_DECLARED
sl@0
    60
#endif
sl@0
    61
sl@0
    62
#ifndef _UINT16_T_DECLARED
sl@0
    63
typedef	__uint16_t		uint16_t;
sl@0
    64
#define	_UINT16_T_DECLARED
sl@0
    65
#endif
sl@0
    66
sl@0
    67
#ifndef _UINT32_T_DECLARED
sl@0
    68
typedef	__uint32_t		uint32_t;
sl@0
    69
#define	_UINT32_T_DECLARED
sl@0
    70
#endif
sl@0
    71
sl@0
    72
#ifndef _UINT64_T_DECLARED
sl@0
    73
typedef	__uint64_t		uint64_t;
sl@0
    74
#define	_UINT64_T_DECLARED
sl@0
    75
#endif
sl@0
    76
sl@0
    77
typedef	__int_least8_t		int_least8_t;
sl@0
    78
typedef	__int_least16_t		int_least16_t;
sl@0
    79
typedef	__int_least32_t		int_least32_t;
sl@0
    80
typedef	__int_least64_t		int_least64_t;
sl@0
    81
sl@0
    82
typedef	__uint_least8_t		uint_least8_t;
sl@0
    83
typedef	__uint_least16_t	uint_least16_t;
sl@0
    84
typedef	__uint_least32_t	uint_least32_t;
sl@0
    85
typedef	__uint_least64_t	uint_least64_t;
sl@0
    86
sl@0
    87
typedef	__int_fast8_t		int_fast8_t;
sl@0
    88
typedef	__int_fast16_t		int_fast16_t;
sl@0
    89
typedef	__int_fast32_t		int_fast32_t;
sl@0
    90
typedef	__int_fast64_t		int_fast64_t;
sl@0
    91
sl@0
    92
typedef	__uint_fast8_t		uint_fast8_t;
sl@0
    93
typedef	__uint_fast16_t		uint_fast16_t;
sl@0
    94
typedef	__uint_fast32_t		uint_fast32_t;
sl@0
    95
typedef	__uint_fast64_t		uint_fast64_t;
sl@0
    96
sl@0
    97
typedef	__intmax_t		intmax_t;
sl@0
    98
typedef	__uintmax_t		uintmax_t;
sl@0
    99
sl@0
   100
#ifndef _INTPTR_T_DECLARED
sl@0
   101
typedef	__intptr_t		intptr_t;
sl@0
   102
typedef	__uintptr_t		uintptr_t;
sl@0
   103
#define	_INTPTR_T_DECLARED
sl@0
   104
#endif
sl@0
   105
sl@0
   106
#endif /* !_SYS_STDINT_H_ */