Add C89 stdint compatibility
This commit is contained in:
parent
7c0333124b
commit
27224cdd4c
4 changed files with 100 additions and 9 deletions
17
sj_typedef.h
17
sj_typedef.h
|
|
@ -40,17 +40,18 @@
|
|||
#define _SJ_TYPEDEF 1
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "sj_stdint.h"
|
||||
|
||||
typedef unsigned char TypeGroup;
|
||||
typedef unsigned char TypeGram;
|
||||
typedef unsigned short TypeIdxOfs;
|
||||
typedef uint8_t TypeGroup;
|
||||
typedef uint8_t TypeGram;
|
||||
typedef uint16_t TypeIdxOfs;
|
||||
typedef short TypeDicSeg;
|
||||
typedef unsigned short TypeDicOfs;
|
||||
typedef uint16_t TypeDicOfs;
|
||||
typedef ino_t TypeDicID;
|
||||
typedef unsigned char TypeCnct;
|
||||
typedef unsigned short TypeStyNum;
|
||||
typedef unsigned char TypeClass;
|
||||
typedef unsigned char TypeBunNum;
|
||||
typedef uint8_t TypeCnct;
|
||||
typedef uint16_t TypeStyNum;
|
||||
typedef uint8_t TypeClass;
|
||||
typedef uint8_t TypeBunNum;
|
||||
|
||||
#ifndef NULL
|
||||
# define NULL 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue