fix: gtest build failed.

This commit is contained in:
jackfiled 2025-05-19 21:11:57 +08:00
parent 992103fd7b
commit 651bc79d2e

View File

@ -61,7 +61,7 @@ void loop() { RUN_ALL_TESTS(); }
GTEST_API_ int _tmain(int argc, TCHAR** argv) {
#else
GTEST_API_ int main(const int argc, const char** argv) {
GTEST_API_ int main(int argc, char** argv) {
#endif // GTEST_OS_WINDOWS_MOBILE
std::cout << "Running main() from gmock_main.cc\n";
// Since Google Mock depends on Google Test, InitGoogleMock() is