]> Joshua Wise's Git repositories - netwatch.git/blob - include/minilib.h
Reboot the machine when you hit escape. Wait, what?
[netwatch.git] / include / minilib.h
1 #ifndef __MINILIB_H
2 #define __MINILIB_H
3
4 #define MINILIB 1
5
6 #ifndef __int8_t_defined
7 # define __int8_t_defined
8 typedef signed char             int8_t;
9 typedef short int               int16_t;
10 typedef int                     int32_t;
11 # if __WORDSIZE == 64
12 typedef long int                int64_t;
13 # else
14 __extension__
15 typedef long long int           int64_t;
16 # endif
17 #endif
18
19 /* Unsigned.  */
20 typedef unsigned char           uint8_t;
21 typedef unsigned short int      uint16_t;
22 #ifndef __uint32_t_defined
23 typedef unsigned int            uint32_t;
24 # define __uint32_t_defined
25 #endif
26 #if __WORDSIZE == 64
27 typedef unsigned long int       uint64_t;
28 #else
29 __extension__
30 typedef unsigned long long int  uint64_t;
31 #endif
32
33 #endif
This page took 0.027966 seconds and 4 git commands to generate.