summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 60d663a..84e4b65 100644
--- a/config.h.in
+++ b/config.h.in
@@ -64,6 +64,18 @@
/* 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
@@ -88,6 +100,12 @@
/* Define if you have the re_comp function. */
#undef HAVE_RE_COMP
+/* Define if you have the regcmp function. */
+#undef HAVE_REGCMP
+
+/* Define if you have the regcomp function. */
+#undef HAVE_REGCOMP
+
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
@@ -121,6 +139,9 @@
/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
+/* Define if you have the <regex.h> header file. */
+#undef HAVE_REGEX_H
+
/* Define if you have the <sgttyb.h> header file. */
#undef HAVE_SGTTYB_H
@@ -153,3 +174,27 @@
/* 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