]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - include/minilib.h
slight grubload cleanups; use __RAW__ defined by build scripts instead of __linux__
[netwatch.git] / include / minilib.h
... / ...
CommitLineData
1#ifndef __MINILIB_H
2#define __MINILIB_H
3
4#define MINILIB 1
5
6#ifndef __int8_t_defined
7# define __int8_t_defined
8typedef signed char int8_t;
9typedef short int int16_t;
10typedef int int32_t;
11# if __WORDSIZE == 64
12typedef long int int64_t;
13# else
14__extension__
15typedef long long int int64_t;
16# endif
17#endif
18
19/* Unsigned. */
20typedef unsigned char uint8_t;
21typedef unsigned short int uint16_t;
22#ifndef __uint32_t_defined
23typedef unsigned int uint32_t;
24# define __uint32_t_defined
25#endif
26#if __WORDSIZE == 64
27typedef unsigned long int uint64_t;
28#else
29__extension__
30typedef unsigned long long int uint64_t;
31#endif
32
33#endif
This page took 0.026136 seconds and 4 git commands to generate.