1 |
nishi |
1.2 |
/* $Id: stdint.h 376 2024-10-17 10:15:23Z nishi $ */ |
2 |
nishi |
1.1 |
|
3 |
|
|
#ifndef __STDINT_H__ |
4 |
|
|
#define __STDINT_H__ |
5 |
|
|
|
6 |
nishi |
1.2 |
#ifdef __bsdi__ |
7 |
|
|
typedef u_int8_t uint8_t; |
8 |
|
|
typedef u_int16_t short uint16_t; |
9 |
|
|
typedef u_int32_t uint32_t; |
10 |
|
|
typedef u_int64_t uint64_t; |
11 |
|
|
#else |
12 |
nishi |
1.1 |
typedef unsigned char uint8_t; |
13 |
|
|
typedef unsigned short uint16_t; |
14 |
|
|
typedef unsigned int uint32_t; |
15 |
|
|
typedef char int8_t; |
16 |
|
|
typedef short int16_t; |
17 |
|
|
typedef int int32_t; |
18 |
|
|
|
19 |
|
|
#define INT32_MAX 0x7fffffff |
20 |
nishi |
1.2 |
#endif |
21 |
nishi |
1.1 |
|
22 |
|
|
#endif |