diff --git a/folly/test/StringToFloatBenchmark.cpp b/folly/test/StringToFloatBenchmark.cpp index 164ef040184..cc9071df8cc 100644 --- a/folly/test/StringToFloatBenchmark.cpp +++ b/folly/test/StringToFloatBenchmark.cpp @@ -110,6 +110,10 @@ class PosixNumericLocale { }; } // namespace +#if defined(_WIN32) +constexpr auto strtod_l = _strtod_l; +#endif + BENCHMARK(hardcoded_decimal_notation_STRTOFL_COPY, n) { char* end; for (unsigned int i = 0; i < n; ++i) {