diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-12 03:32:35 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-12 03:32:35 +0200 |
commit | f0e738028819ac988dbd825cf1962188c9e5cdc3 (patch) | |
tree | e7876388cbe6771ddbfe22841a51bf704f864137 /include | |
parent | 503219af891858cba983d9b2ecd22ca50498001f (diff) | |
download | kit-f0e738028819ac988dbd825cf1962188c9e5cdc3.zip |
cleanup
Diffstat (limited to 'include')
-rw-r--r-- | include/kit.inl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/kit.inl.h b/include/kit.inl.h index e16762b..b83e55c 100644 --- a/include/kit.inl.h +++ b/include/kit.inl.h @@ -801,13 +801,6 @@ extern "C" { #ifndef KIT_BIGINT_SIZE # define KIT_BIGINT_SIZE 64 #endif -#if __STDC_VERSION__ >= 199901L -static_assert(sizeof(u8) == 1, "u8 size should be 1 byte"); -static_assert(sizeof(u32) == 4, "u32 size should be 4 bytes"); -static_assert(sizeof(u64) == 8, "u64 size should be 8 bytes"); -static_assert(KIT_BIGINT_SIZE > 0 && (KIT_BIGINT_SIZE % 8) == 0, - "Invalid big integer size"); -#endif typedef struct { u32 v[KIT_BIGINT_SIZE / 4]; } kit_bigint_t; |