ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/tewi/VC6Compat/stdint.h
(Generate patch)

Comparing VC6Compat/stdint.h (file contents):
Revision 1.1 by nishi, Thu Oct 17 09:53:39 2024 UTC vs.
Revision 1.4 by nishi, Thu Oct 17 10:22:27 2024 UTC

# Line 3 | Line 3
3   #ifndef __STDINT_H__
4   #define __STDINT_H__
5  
6 + #ifdef __bsdi__
7 + #include <machine/types.h>
8 + typedef u_int8_t uint8_t;
9 + typedef u_int16_t uint16_t;
10 + typedef u_int32_t uint32_t;
11 + typedef u_int64_t uint64_t;
12 + #else
13   typedef unsigned char uint8_t;
14   typedef unsigned short uint16_t;
15   typedef unsigned int uint32_t;
# Line 11 | Line 18 | typedef short int16_t;
18   typedef int int32_t;
19  
20   #define INT32_MAX 0x7fffffff
21 + #endif
22  
23   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines