]> Joshua Wise's Git repositories - netwatch.git/blob - include/raw/stdint.h
Commit GDB patch from Jacob Potter.
[netwatch.git] / include / raw / stdint.h
1 /* stdint.h
2  * Standard integer types
3  * NetWatch system management mode administration console
4  *
5  * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
6  * This program is free software; you can redistribute and/or modify it under
7  * the terms found in the file LICENSE in the root of this source tree.
8  *
9  */
10
11 #ifndef _STDINT_H
12 #define _STDINT_H
13
14 #ifndef __i386__
15 # ifndef __x86_64__
16 #  error this stdint.h expects either __i386__ or __x86_64__ to be defined
17 # endif
18 #endif
19
20 typedef signed char     int8_t;
21 typedef unsigned char   uint8_t;
22
23 typedef signed short    int16_t;
24 typedef unsigned short  uint16_t;
25
26 typedef signed int      int32_t;
27 typedef unsigned int    uint32_t;
28
29 #ifdef __x86_64__
30 typedef signed long     int64_t;
31 typedef unsigned long   uint64_t;
32 #else
33 typedef signed long long        int64_t;
34 typedef unsigned long long      uint64_t;
35 #endif
36
37 #endif
This page took 0.022887 seconds and 4 git commands to generate.