source: Main/trunk/VC6Compat/stdint.h@ 382

Last change on this file since 382 was 382, checked in by Nishi, on Oct 17, 2024 at 7:27:18 PM

trying to fix bsdi port

  • Property svn:keywords set to Id
File size: 449 bytes
Line 
1/* $Id: stdint.h 382 2024-10-17 10:27:18Z nishi $ */
2
3#ifndef __STDINT_H__
4#define __STDINT_H__
5
6#ifdef __bsdi__
7#include <machine/types.h>
8typedef u_int8_t uint8_t;
9typedef u_int16_t uint16_t;
10typedef u_int32_t uint32_t;
11typedef u_int64_t uint64_t;
12
13#define INT32_MAX 0x7fffffff
14#else
15typedef unsigned char uint8_t;
16typedef unsigned short uint16_t;
17typedef unsigned int uint32_t;
18typedef char int8_t;
19typedef short int16_t;
20typedef int int32_t;
21
22#define INT32_MAX 0x7fffffff
23#endif
24
25#endif
Note: See TracBrowser for help on using the repository browser.