37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
|
// Copyright (c) 2025, Zak Fenton
|
||
|
// Zak Fenton's libc is licensed under the Mulan PSL v2. You can use this
|
||
|
// software according to the terms and conditions of the Mulan PSL v2.
|
||
|
// You may obtain a copy of Mulan PSL v2 at:
|
||
|
// http://license.coscl.org.cn/MulanPSL2
|
||
|
// THIS SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT warranties of
|
||
|
// any kind, either express or implied, including but not limited to
|
||
|
// non-infringement, merchantability or fit for a particular purpose.
|
||
|
// See the Mulan PSL v2 for more details.
|
||
|
|
||
|
#ifndef _LIBC_STDINT_H
|
||
|
#define _LIBC_STDINT_H
|
||
|
|
||
|
typedef char int8_t;
|
||
|
typedef short int16_t;
|
||
|
typedef int int32_t;
|
||
|
typedef long long int64_t;
|
||
|
typedef unsigned char uint8_t;
|
||
|
typedef unsigned short uint16_t;
|
||
|
typedef unsigned int uint32_t;
|
||
|
typedef unsigned long long uint64_t;
|
||
|
|
||
|
typedef int64_t intptr_t;
|
||
|
typedef uint64_t uintptr_t;
|
||
|
|
||
|
typedef uint32_t uint_fast8_t;
|
||
|
typedef int32_t int_fast8_t;
|
||
|
typedef uint32_t uint_fast16_t;
|
||
|
typedef int32_t int_fast16_t;
|
||
|
typedef uint32_t uint_fast32_t;
|
||
|
typedef int32_t int_fast32_t;
|
||
|
typedef uint64_t uint_fast64_t;
|
||
|
typedef int64_t int_fast64_t;
|
||
|
|
||
|
/* From ifndef at top of file: */
|
||
|
#endif
|