diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-09-24 21:17:24 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-09-24 21:17:24 +0000 |
commit | 6fd17da20f174b0322e37c70279bba2e9b2986c7 (patch) | |
tree | a17cf98a60d67d6b32fb699c0ec6308b4a707d94 /src/gmock_main.cc | |
parent | c45dea06f4714d00b9e8b2a05b41138bd312cf2c (diff) | |
download | googlemock-6fd17da20f174b0322e37c70279bba2e9b2986c7.tar.gz |
Simplifies gmock code using gtest's OS-indicating macros.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@209 8415998a-534a-0410-bf83-d39667b30386
Diffstat (limited to 'src/gmock_main.cc')
-rw-r--r-- | src/gmock_main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmock_main.cc b/src/gmock_main.cc index 85689d5..0a3071b 100644 --- a/src/gmock_main.cc +++ b/src/gmock_main.cc @@ -38,13 +38,13 @@ // is enabled. For this reason instead of _tmain, main function is used on // Windows. See the following link to track the current status of this bug: // http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=394464 // NOLINT -#ifdef _WIN32_WCE +#if GTEST_OS_WINDOWS_MOBILE #include <tchar.h> // NOLINT int _tmain(int argc, TCHAR** argv) { #else int main(int argc, char** argv) { -#endif // _WIN32_WCE +#endif // GTEST_OS_WINDOWS_MOBILE std::cout << "Running main() from gmock_main.cc\n"; // Since Google Mock depends on Google Test, InitGoogleMock() is // also responsible for initializing Google Test. Therefore there's |