diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 2a3bd36e4..94550ccf5 100644 --- a/config.h.in +++ b/config.h.in @@ -72,6 +72,9 @@ /* The number of bytes in a unsigned short. */ #undef SIZEOF_UNSIGNED_SHORT +/* Define if you have the rand function. */ +#undef HAVE_RAND + /* Define if you have the stpcpy function. */ #undef HAVE_STPCPY @@ -81,6 +84,9 @@ /* Define if you have the strlwr function. */ #undef HAVE_STRLWR +/* Define if you have the strtoul function. */ +#undef HAVE_STRTOUL + /* Define if you have the tcgetattr function. */ #undef HAVE_TCGETATTR @@ -91,4 +97,20 @@ #undef HAVE_ZLIB_H +/* The AC_CHECK_SIZEOF() fails for some machines. + * we provide some fallback values here */ +#if !SIZEOF_UNSIGNED_SHORT + #undef SIZEOF_UNSIGNED_SHORT + #define SIZEOF_UNSIGNED_SHORT 2 +#endif +#if !SIZEOF_UNSIGNED_INT + #undef SIZEOF_UNSIGNED_INT + #define SIZEOF_UNSIGNED_INT 4 +#endif +#if !SIZEOF_UNSIGNED_LONG + #undef SIZEOF_UNSIGNED_LONG + #define SIZEOF_UNSIGNED_LONG 4 +#endif + + #endif /*G10_CONFIG_H*/ |