diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 75 |
1 files changed, 26 insertions, 49 deletions
diff --git a/config.h.in b/config.h.in index 84e4b65..ab7206c 100644 --- a/config.h.in +++ b/config.h.in @@ -1,4 +1,11 @@ /* config.h.in. Generated automatically from configure.in by autoheader. */ +/* Special definitions for `mkid', processed by autoheader. + This file is in the public domain. +*/ + +#ifndef _config_h_ +#define _config_h_ + /* Define if using alloca.c. */ #undef C_ALLOCA @@ -40,42 +47,24 @@ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define to filename of iid help text. */ +#undef IID_HELP_FILE + /* Define to the name of the distribution. */ -#undef PRODUCT +#undef PACKAGE + +/* Define to the patch-level of the distribution. */ +#undef PATCH_LEVEL /* Define to 1 if ANSI function prototypes are usable. */ #undef PROTOTYPES -/* Define to the major version # of the distribution. */ -#undef MAJOR_VERSION - -/* Define to the minor version # of the distribution. */ -#undef MINOR_VERSION - -/* Define to the minor.minor version # of the distribution. */ +/* Define to the major.minor version # of the distribution. */ #undef VERSION -/* Define to the minor.minor.patch_level # of the distribution. */ -#undef FULL_VERSION - -/* Define to the patch level of the distribution. */ -#undef PATCH_LEVEL - -/* Define to filename of iid help text. */ -#undef IID_HELP_FILE - -/* The number of bytes in a char. */ -#undef SIZEOF_CHAR - -/* The number of bytes in a int. */ -#undef SIZEOF_INT - /* The number of bytes in a long. */ #undef SIZEOF_LONG -/* The number of bytes in a short. */ -#undef SIZEOF_SHORT - /* Define if you have the bcopy function. */ #undef HAVE_BCOPY @@ -175,26 +164,14 @@ /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -#if SIZEOF_LONG == 4 -typedef unsigned long uint32_t; -typedef long int32_t; -#else /* SIZEOF_LONG != 4 */ -#if SIZEOF_INT == 4 -typedef unsigned int uint32_t; -typedef int int32_t; -#else /* SIZEOF_INT != 4 */ -#error "Your system is weird. What integer has sizeof () == 4 ???" -#endif /* SIZEOF_INT != 4 */ -#endif /* SIZEOF_LONG != 4 */ - -#if SIZEOF_SHORT == 2 -typedef unsigned short uint16_t; -#else -#error "Your system is weird. sizeof (short) != 2" -#endif - -#if SIZEOF_CHAR == 1 -typedef unsigned char uint8_t; -#else -#error "Your system is weird. sizeof (char) != 1" -#endif +/* (u)intmin32_t are integer types that are *at least* 32 bits. + Larger ints are OK. */ +# if SIZEOF_LONG == 4 + typedef unsigned long uintmin32_t; + typedef long intmin32_t; +# else + typedef unsigned int uintmin32_t; + typedef int intmin32_t; +# endif + +#endif /* _config_h_ */ |