X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/2fe58dfd10216a37f1ece081f926971882de112e..c6f79b178fe27ee315055dccb371b63ca1a6183a:/config.h.bot diff --git a/config.h.bot b/config.h.bot index adb0c7b..47befcb 100644 --- a/config.h.bot +++ b/config.h.bot @@ -2,31 +2,14 @@ /* These are from config.h.bot, pasted onto the end of config.h.in. */ -#ifdef HAVE_SYS_CDEFS_H -#include -#endif - -#if 0 -/* Use the definitions: */ - -/* Give us an unsigned 32-bit data type. */ -#if SIZEOF_UNSIGNED_LONG==4 -#define UWORD32 unsigned long -#elif SIZEOF_UNSIGNED_INT==4 -#define UWORD32 unsigned int +#ifdef HAVE_INTTYPES_H +#include #else -#error I do not know what to use for a UWORD32. -#endif - -/* An unsigned 8-bit data type */ -#if SIZEOF_UNSIGNED_CHAR==1 -#define UBYTE8 unsigned char +#ifdef HAVE_STDINT_H +#include #else -#error I do not know what to use for a UBYTE8 +#error you must define uint32_t, uint16_t etc. +#endif #endif - - -#endif /* 0 */ - #endif /* _CONFIG_H */