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

Last change on this file since 379 was 379, checked in by Nishi, on Oct 17, 2024 at 7:22:15 PM

trying to fix bsdi port

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