
All of the _Builtin_stdarg and _Builtin_stddef submodules need to be allowed from [no_undeclared_includes] modules. Split the builtin headers tests out from the compiler_builtins test so that the testing modules can be modified without affecting the other many tests that use Inputs/System/usr/include.
35 lines
832 B
C
35 lines
832 B
C
#ifndef STDINT_H
|
|
#define STDINT_H
|
|
|
|
// types needed by stdatomic.h
|
|
|
|
typedef char int_least8_t;
|
|
typedef short int_least16_t;
|
|
typedef int int_least32_t;
|
|
typedef long long int int_least64_t;
|
|
typedef unsigned char uint_least8_t;
|
|
typedef unsigned short uint_least16_t;
|
|
typedef unsigned int uint_least32_t;
|
|
typedef unsigned long long uint_least64_t;
|
|
|
|
typedef char int_fast8_t;
|
|
typedef short int_fast16_t;
|
|
typedef int int_fast32_t;
|
|
typedef long long int int_fast64_t;
|
|
typedef unsigned char uint_fast8_t;
|
|
typedef unsigned short uint_fast16_t;
|
|
typedef unsigned int uint_fast32_t;
|
|
typedef unsigned long long uint_fast64_t;
|
|
|
|
typedef int intptr_t;
|
|
typedef unsigned int uintptr_t;
|
|
typedef int intmax_t;
|
|
typedef unsigned int uintmax_t;
|
|
|
|
// additional types for unwind.h
|
|
|
|
typedef unsigned int uint32_t;
|
|
typedef unsigned long long uint64_t;
|
|
|
|
#endif
|