diff --git a/benchmark/runtime/integer/single.cpp b/benchmark/runtime/integer/single.cpp index 074ab16a..2c8c4bd4 100644 --- a/benchmark/runtime/integer/single.cpp +++ b/benchmark/runtime/integer/single.cpp @@ -113,6 +113,8 @@ BENCHMARK_TEMPLATE(scan_int_single_scn_int, int); BENCHMARK_TEMPLATE(scan_int_single_scn_int, long long); BENCHMARK_TEMPLATE(scan_int_single_scn_int, unsigned); +// scan_int_exhaustive_valid requires little-endian +#if !SCN_IS_BIG_ENDIAN template static void scan_int_single_scn_int_exhaustive_valid(benchmark::State& state) { @@ -129,6 +131,7 @@ static void scan_int_single_scn_int_exhaustive_valid(benchmark::State& state) BENCHMARK_TEMPLATE(scan_int_single_scn_int_exhaustive_valid, int); BENCHMARK_TEMPLATE(scan_int_single_scn_int_exhaustive_valid, long long); BENCHMARK_TEMPLATE(scan_int_single_scn_int_exhaustive_valid, unsigned); +#endif template static void scan_int_single_sstream(benchmark::State& state)