Subversion Repositories Tewi

Rev

Rev 379 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 379 Rev 382
Line 1... Line 1...
1
/* $Id: stdint.h 379 2024-10-17 10:22:15Z nishi $ */
1
/* $Id: stdint.h 382 2024-10-17 10:27:18Z nishi $ */
2
 
2
 
3
#ifndef __STDINT_H__
3
#ifndef __STDINT_H__
4
#define __STDINT_H__
4
#define __STDINT_H__
5
 
5
 
6
#ifdef __bsdi__
6
#ifdef __bsdi__
7
#include <machine/types.h>
7
#include <machine/types.h>
8
typedef u_int8_t uint8_t;
8
typedef u_int8_t uint8_t;
9
typedef u_int16_t uint16_t;
9
typedef u_int16_t uint16_t;
10
typedef u_int32_t uint32_t;
10
typedef u_int32_t uint32_t;
11
typedef u_int64_t uint64_t;
11
typedef u_int64_t uint64_t;
-
 
12
 
-
 
13
#define INT32_MAX 0x7fffffff
12
#else
14
#else
13
typedef unsigned char uint8_t;
15
typedef unsigned char uint8_t;
14
typedef unsigned short uint16_t;
16
typedef unsigned short uint16_t;
15
typedef unsigned int uint32_t;
17
typedef unsigned int uint32_t;
16
typedef char int8_t;
18
typedef char int8_t;