aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmock_main.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-09-24 21:17:24 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-09-24 21:17:24 +0000
commitf7af24c7de14ccb10a24909a6f3440a763cb1164 (patch)
treea17cf98a60d67d6b32fb699c0ec6308b4a707d94 /src/gmock_main.cc
parentb0d1c08ff2dc98a1f2ed395ccfed5585ff048d2b (diff)
downloadgoogletest-f7af24c7de14ccb10a24909a6f3440a763cb1164.tar.gz
googletest-f7af24c7de14ccb10a24909a6f3440a763cb1164.tar.bz2
googletest-f7af24c7de14ccb10a24909a6f3440a763cb1164.zip
Simplifies gmock code using gtest's OS-indicating macros.
Diffstat (limited to 'src/gmock_main.cc')
-rw-r--r--src/gmock_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmock_main.cc b/src/gmock_main.cc
index 85689d5d..0a3071bf 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