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

Diff of /VC6Compat/stdint.h

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

Revision 1.1 by nishi, Thu Oct 17 09:53:39 2024 UTC Revision 1.3 by nishi, Thu Oct 17 10:21:36 2024 UTC
# Line 3  Line 3 
3  #ifndef __STDINT_H__  #ifndef __STDINT_H__
4  #define __STDINT_H__  #define __STDINT_H__
5    
6    #ifdef __bsdi__
7    typedef u_int8_t uint8_t;
8    typedef u_int16_t uint16_t;
9    typedef u_int32_t uint32_t;
10    typedef u_int64_t uint64_t;
11    #else
12  typedef unsigned char uint8_t;  typedef unsigned char uint8_t;
13  typedef unsigned short uint16_t;  typedef unsigned short uint16_t;
14  typedef unsigned int uint32_t;  typedef unsigned int uint32_t;
# Line 11  typedef short int16_t; Line 17  typedef short int16_t;
17  typedef int int32_t;  typedef int int32_t;
18    
19  #define INT32_MAX 0x7fffffff  #define INT32_MAX 0x7fffffff
20    #endif
21    
22  #endif  #endif


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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