chiark / gitweb /
Import release 0.1.6
[secnet.git] / config.h.bot
index adb0c7b1f72e0689be9eeb249c4274adddaf8ebc..47befcbc7771f3223bbd78bd0535f18700ad6cf5 100644 (file)
@@ -2,31 +2,14 @@
 
 /* These are from config.h.bot, pasted onto the end of config.h.in. */
 
-#ifdef HAVE_SYS_CDEFS_H
-#include <sys/cdefs.h>
-#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 <inttypes.h>
 #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 <stdint.h>
 #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 */