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

Last change on this file since 405 was 405, checked in by Nishi, on Nov 3, 2024 at 10:49:26 PM

fixing for solaris

  • Property svn:keywords set to Id
File size: 499 bytes
Line 
1/* $Id: stdint.h 405 2024-11-03 13:49:26Z 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#elif defined(__sun__)
15#include <sys/int_types.h>
16#else
17typedef unsigned char uint8_t;
18typedef unsigned short uint16_t;
19typedef unsigned int uint32_t;
20typedef char int8_t;
21typedef short int16_t;
22typedef int int32_t;
23
24#define INT32_MAX 0x7fffffff
25#endif
26
27#endif
Note: See TracBrowser for help on using the repository browser.