Skip to content

Commit

Permalink
Cdecl.
Browse files Browse the repository at this point in the history
  • Loading branch information
pleroy committed May 24, 2021
1 parent 70df99f commit 63ed68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/benchmark/benchmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -1310,13 +1310,13 @@ class Fixture : public internal::Benchmark {

// Helper macro to create a main routine in a test that runs the benchmarks
#define BENCHMARK_MAIN() \
int main(int argc, char** argv) { \
int __cdecl main(int argc, char** argv) { \
::benchmark::Initialize(&argc, argv); \
if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \
::benchmark::RunSpecifiedBenchmarks(); \
return 0; \
} \
int main(int, char**)
int __cdecl main(int, char**)

// ------------------------------------------------------
// Benchmark Reporters
Expand Down

0 comments on commit 63ed68a

Please sign in to comment.