diff --git a/include/acutest.h b/include/acutest.h index 5f9cb19..68346de 100644 --- a/include/acutest.h +++ b/include/acutest.h @@ -1981,14 +1981,14 @@ main(int argc, char** argv) } +#ifdef __cplusplus + } /* extern "C" */ +#endif + #endif /* #ifndef TEST_NO_MAIN */ #ifdef _MSC_VER #pragma warning(pop) #endif -#ifdef __cplusplus - } /* extern "C" */ -#endif - #endif /* #ifndef ACUTEST_H */