diff options
author | David Timber <dxdt@dev.snart.me> | 2022-06-02 12:19:11 +0800 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2022-06-02 12:19:11 +0800 |
commit | 31e7acb5c965067463f33fa59fc463086a298350 (patch) | |
tree | 921df7d673b812255da0bca13b967930a498a7ff /src/config.h | |
parent | 80a062ef30a2f945f6634ca9a0bf2b886a54e3ae (diff) |
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()
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <limits.h> #include <stdint.h> #include <stddef.h> #include <stdbool.h> #include <zlib.h> +// 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. |