source: bootcd/isolinux/syslinux-6.03/gpxe/src/include/stdint.h @ e16e8f2

Last change on this file since e16e8f2 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 810 bytes
Line 
1#ifndef _STDINT_H
2#define _STDINT_H
3
4FILE_LICENCE ( GPL2_OR_LATER );
5
6/*
7 * This is a standard predefined macro on all gcc's I've seen. It's
8 * important that we define size_t in the same way as the compiler,
9 * because that's what it's expecting when it checks %zd/%zx printf
10 * format specifiers.
11 */
12#ifndef __SIZE_TYPE__
13#define __SIZE_TYPE__ unsigned long /* safe choice on most systems */
14#endif
15
16#include <bits/stdint.h>
17
18typedef int8_t s8;
19typedef uint8_t u8;
20typedef int16_t s16;
21typedef uint16_t u16;
22typedef int32_t s32;
23typedef uint32_t u32;
24typedef int64_t s64;
25typedef uint64_t u64;
26
27typedef int8_t int8;
28typedef uint8_t uint8;
29typedef int16_t int16;
30typedef uint16_t uint16;
31typedef int32_t int32;
32typedef uint32_t uint32;
33typedef int64_t int64;
34typedef uint64_t uint64;
35
36#endif /* _STDINT_H */
Note: See TracBrowser for help on using the repository browser.