Subversion Repositories Tewi

Rev

Rev 379 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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