]> Joshua Wise's Git repositories - netwatch.git/blob - include/raw/stdint.h
another try
[netwatch.git] / include / raw / stdint.h
1 #ifndef _STDINT_H
2 #define _STDINT_H
3
4 #ifndef __i386__
5 # ifndef __x86_64__
6 #  error this stdint.h expects either __i386__ or __x86_64__ to be defined
7 # endif
8 #endif
9
10 typedef signed char     int8_t;
11 typedef unsigned char   uint8_t;
12
13 typedef signed short    int16_t;
14 typedef unsigned short  uint16_t;
15
16 typedef signed int      int32_t;
17 typedef unsigned int    uint32_t;
18
19 #ifdef __x86_64__
20 typedef signed long     int64_t;
21 typedef unsigned long   uint64_t;
22 #else
23 typedef signed long long        int64_t;
24 typedef unsigned long long      uint64_t;
25 #endif
26
27 #endif
This page took 0.027946 seconds and 4 git commands to generate.