| Index: crosstest/test_calling_conv_main.cpp
|
| diff --git a/crosstest/test_calling_conv_main.cpp b/crosstest/test_calling_conv_main.cpp
|
| index ce5ecda4c42c966bcaa65761fef8f52d164c3d03..f0feef07f3db3a9a51fba47290b10fec3eb478c1 100644
|
| --- a/crosstest/test_calling_conv_main.cpp
|
| +++ b/crosstest/test_calling_conv_main.cpp
|
| @@ -162,7 +162,11 @@ void testCallee(size_t &TotalTests, size_t &Passes, size_t &Failures) {
|
| }
|
| }
|
|
|
| +#ifdef X8664_STACK_HACK
|
| +extern "C" int wrapped_main(int argc, char *argv[]) {
|
| +#else // !defined(X8664_STACK_HACK)
|
| int main(int argc, char *argv[]) {
|
| +#endif // X8664_STACK_HACK
|
| size_t TotalTests = 0;
|
| size_t Passes = 0;
|
| size_t Failures = 0;
|
|
|