Fix build of test under Mac OS X #12767

This commit is contained in:
Alexey Milovidov 2020-07-27 14:34:52 +03:00
parent e7ec08615e
commit 916daf7ff0

View File

@ -4,6 +4,7 @@
int main(int argc, char ** argv)
{
#if defined(OS_LINUX)
using namespace DB;
size_t num_iterations = argc >= 2 ? std::stoull(argv[1]) : 1000000;
@ -18,7 +19,10 @@ int main(int argc, char ** argv)
if (num_iterations)
std::cerr << (counter / num_iterations) << '\n';
#endif
(void)argc;
(void)argv;
return 0;
}