]> Joshua Wise's Git repositories - netwatch.git/blob - include/raw/stdint.h
dbe42227945b6c866ea6275d8578074d5981478f
[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.016256 seconds and 2 git commands to generate.