summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-12 03:32:35 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-12 03:32:35 +0200
commitf0e738028819ac988dbd825cf1962188c9e5cdc3 (patch)
treee7876388cbe6771ddbfe22841a51bf704f864137 /include
parent503219af891858cba983d9b2ecd22ca50498001f (diff)
downloadkit-f0e738028819ac988dbd825cf1962188c9e5cdc3.zip
cleanup
Diffstat (limited to 'include')
-rw-r--r--include/kit.inl.h7
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;