diff --git a/utils/gz/crc_combine.cc b/utils/gz/crc_combine.cc index 814db5cf42..f662597bd3 100644 --- a/utils/gz/crc_combine.cc +++ b/utils/gz/crc_combine.cc @@ -52,13 +52,13 @@ #include "crc_combine_table.hh" #include "utils/clmul.hh" +using u32 = uint32_t; +using u64 = uint64_t; + #if defined(__x86_64__) || defined(__i386__) #include "barett.hh" -using u32 = uint32_t; -using u64 = uint64_t; - /* * Calculates: * diff --git a/utils/gz/gen_crc_combine_table.cc b/utils/gz/gen_crc_combine_table.cc index b3cffb5d17..3b60bf1509 100644 --- a/utils/gz/gen_crc_combine_table.cc +++ b/utils/gz/gen_crc_combine_table.cc @@ -20,12 +20,13 @@ * */ +#include + #if defined(__x86_64__) || defined(__i386__) #include "utils/clmul.hh" #include "barett.hh" -#include #include int main() { @@ -73,8 +74,14 @@ int main() { #else int main() { - std::cerr << "Not implemented for this arch!\n"; - return 1; + std::cout << "/*\n" + " * Generated with gen_crc_combine_table.cc\n" + " * DO NOT EDIT!\n" + " */\n" + "\n" + "/* Not implemented for this CPU architecture. */\n" + "\n"; + return 0; } #endif