From 5166947bf0c47c971e1f3917f83e5a6450678100 Mon Sep 17 00:00:00 2001 From: calcium Date: Mon, 19 Aug 2024 20:04:07 -0400 Subject: [PATCH] Added compile-time crc32 implementation --- include/Utils/CRC32_CompileTime.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/Utils/CRC32_CompileTime.hpp b/include/Utils/CRC32_CompileTime.hpp index 6c37594..873b0ec 100644 --- a/include/Utils/CRC32_CompileTime.hpp +++ b/include/Utils/CRC32_CompileTime.hpp @@ -1,6 +1,8 @@ #ifndef __CAVM_CRC32_COMPILETIME_HPP #define __CAVM_CRC32_COMPILETIME_HPP +// Source: https://gist.github.com/oktal/5573082 + #include #define CRC32 0xFFFFFFFF