I'm using `stdbool.h` for the few remaining C files. That will have to change, soon.
24 lines
416 B
C
24 lines
416 B
C
#ifndef __D_SIZE_H__
|
|
#define __D_SIZE_H__
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#ifdef HAVE_STDINT_H
|
|
#include <stdint.h>
|
|
#else
|
|
#ifdef HAVE_INTTYPES_H
|
|
#include <inttypes.h>
|
|
#else
|
|
/* config.h defines {int,uint}*_t */
|
|
#endif /* HAVE_INTTYPES_H */
|
|
#endif /*HAVE_STDINT_H */
|
|
|
|
typedef unsigned char uchar_t;
|
|
typedef unsigned short ushort_t;
|
|
typedef unsigned long ulong_t;
|
|
typedef unsigned int uint_t;
|
|
|
|
|
|
#endif /* __D_SIZE_H__ */
|