]> Joshua Wise's Git repositories - netwatch.git/blame - include/raw/stdint.h
Add cross-compile support (for fools like me who build on OS X) to the Makefiles.
[netwatch.git] / include / raw / stdint.h
CommitLineData
3c4e084d
JP
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
7e16b8e6
JP
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
20typedef signed char int8_t;
21typedef unsigned char uint8_t;
22
23typedef signed short int16_t;
24typedef unsigned short uint16_t;
25
26typedef signed int int32_t;
27typedef unsigned int uint32_t;
28
29#ifdef __x86_64__
30typedef signed long int64_t;
31typedef unsigned long uint64_t;
32#else
33typedef signed long long int64_t;
34typedef unsigned long long uint64_t;
35#endif
36
37#endif
This page took 0.030632 seconds and 4 git commands to generate.