Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
489 bytes
|
Line | |
---|
1 | /* |
---|
2 | * bits32/stdint.h |
---|
3 | */ |
---|
4 | |
---|
5 | #ifndef _BITSIZE_STDINT_H |
---|
6 | #define _BITSIZE_STDINT_H |
---|
7 | |
---|
8 | typedef signed char int8_t; |
---|
9 | typedef short int int16_t; |
---|
10 | typedef int int32_t; |
---|
11 | |
---|
12 | typedef unsigned char uint8_t; |
---|
13 | typedef unsigned short int uint16_t; |
---|
14 | typedef unsigned int uint32_t; |
---|
15 | |
---|
16 | #if __SIZEOF_POINTER__ == 4 |
---|
17 | #include <bitsize32/stdint.h> |
---|
18 | #elif __SIZEOF_POINTER__ == 8 |
---|
19 | #include <bitsize64/stdint.h> |
---|
20 | #else |
---|
21 | #error "Unable to build for to-be-defined architecture type" |
---|
22 | #endif |
---|
23 | #endif /* _BITSIZE_STDINT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.