From 31e7acb5c965067463f33fa59fc463086a298350 Mon Sep 17 00:00:00 2001 From: David Timber Date: Thu, 2 Jun 2022 12:19:11 +0800 Subject: Doc and final touches ... - Add .settings.json for doxygen settings - Add /doc/impl.md - Doc and change usage of /bootstrap.sh - Add notes to docs - Add 7-bit char machine check - Normailise description for init and free functions - Doc rest of source code - Remove unused function: prne_str_shift_spaces() --- src/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 1b2a746..79c12f0 100644 --- a/src/config.h +++ b/src/config.h @@ -33,12 +33,18 @@ #endif #include "protocol.h" +#include #include #include #include #include +// Refuse 7-bit byte +#if CHAR_BIT != 8 +#error "FIXME!" +#endif + /** \def PRNE_HOST_WORDSIZE * \brief Th system "word size". 32 if the system is a 32-bit machine. 64 if the * system is a 64-bit machine. -- cgit