Skip to content

Commit 63ed68a

Browse files
committed
Cdecl.
1 parent 70df99f commit 63ed68a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/benchmark/benchmark.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,13 +1310,13 @@ class Fixture : public internal::Benchmark {
13101310

13111311
// Helper macro to create a main routine in a test that runs the benchmarks
13121312
#define BENCHMARK_MAIN() \
1313-
int main(int argc, char** argv) { \
1313+
int __cdecl main(int argc, char** argv) { \
13141314
::benchmark::Initialize(&argc, argv); \
13151315
if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \
13161316
::benchmark::RunSpecifiedBenchmarks(); \
13171317
return 0; \
13181318
} \
1319-
int main(int, char**)
1319+
int __cdecl main(int, char**)
13201320

13211321
// ------------------------------------------------------
13221322
// Benchmark Reporters

0 commit comments

Comments
 (0)