Rev | Line | |
---|
[212] | 1 | /* $Id: stdint.h 375 2024-10-17 10:14:19Z nishi $ */
|
---|
| 2 |
|
---|
| 3 | #ifndef __STDINT_H__
|
---|
| 4 | #define __STDINT_H__
|
---|
| 5 |
|
---|
[375] | 6 | #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 | #else
|
---|
[212] | 11 | typedef unsigned char uint8_t;
|
---|
| 12 | typedef unsigned short uint16_t;
|
---|
| 13 | typedef unsigned int uint32_t;
|
---|
[301] | 14 | typedef char int8_t;
|
---|
| 15 | typedef short int16_t;
|
---|
| 16 | typedef int int32_t;
|
---|
[212] | 17 |
|
---|
| 18 | #define INT32_MAX 0x7fffffff
|
---|
[375] | 19 | #endif
|
---|
[212] | 20 |
|
---|
| 21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.