We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70df99f commit 63ed68aCopy full SHA for 63ed68a
include/benchmark/benchmark.h
@@ -1310,13 +1310,13 @@ class Fixture : public internal::Benchmark {
1310
1311
// Helper macro to create a main routine in a test that runs the benchmarks
1312
#define BENCHMARK_MAIN() \
1313
- int main(int argc, char** argv) { \
+ int __cdecl main(int argc, char** argv) { \
1314
::benchmark::Initialize(&argc, argv); \
1315
if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \
1316
::benchmark::RunSpecifiedBenchmarks(); \
1317
return 0; \
1318
} \
1319
- int main(int, char**)
+ int __cdecl main(int, char**)
1320
1321
// ------------------------------------------------------
1322
// Benchmark Reporters
0 commit comments