view d_size.h @ 2018:e24250227e83

rm --enable-ansi config option I'd brought this up a couple of times on the list, and we never came to a definite "Yes, let's rm it!", but it isn't close to working, and we're never going to take out various C99 things that it disallows, so...
author corvid <corvid@lavabit.com>
date Sun, 15 May 2011 21:46:53 +0000
parents 9e14c9633f18
children
line wrap: on
line source
#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;
typedef unsigned char   bool_t;


#endif /* __D_SIZE_H__ */