Restructuration part 2: libc, programs
This commit is contained in:
20
src/libc/stdint.h
Normal file
20
src/libc/stdint.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef INCLUDE_STDINT_H
|
||||
#define INCLUDE_STDINT_H
|
||||
|
||||
typedef signed char int8_t;
|
||||
typedef unsigned char uint8_t;
|
||||
|
||||
typedef signed short int16_t;
|
||||
typedef unsigned short uint16_t;
|
||||
|
||||
typedef signed long int int32_t;
|
||||
typedef unsigned long int uint32_t;
|
||||
|
||||
typedef signed long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
|
||||
typedef uint8_t bool;
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user