blob: 7e7b23558cc707f6abd474568f8bfcd77e3349e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* bits32/stdint.h
*/
#ifndef _BITSIZE_STDINT_H
#define _BITSIZE_STDINT_H
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
#if __SIZEOF_POINTER__ == 4
#include <bitsize32/stdint.h>
#elif __SIZEOF_POINTER__ == 8
#include <bitsize64/stdint.h>
#else
#error "Unable to build for to-be-defined architecture type"
#endif
#endif /* _BITSIZE_STDINT_H */
|