/[tewi]/VC6Compat/stdint.h
ViewVC logotype

Annotation of /VC6Compat/stdint.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (hide annotations)
Thu Oct 17 10:27:38 2024 UTC (4 weeks, 1 day ago) by nishi
Branch: MAIN
CVS Tags: v2_05A, v2_05
Changes since 1.4: +3 -1 lines
Content type: text/x-c
trying to fix bsdi port

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

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev