mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix build of test under Mac OS X #12767
This commit is contained in:
parent
e7ec08615e
commit
916daf7ff0
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user