Bug fix: ifdef guard for InitGoogleMock must be HAVE_LIB_GMOCK rather than HAVE_LIB_G...
author <shinichiro.hamaji@gmail.com> <>
Sat, 24 Jan 2009 19:25:56 +0000 (19:25 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Sat, 24 Jan 2009 19:25:56 +0000 (19:25 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@38 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/logging_unittest.cc

index 14c9789..47ac272 100644 (file)
@@ -154,7 +154,7 @@ int main(int argc, char **argv) {
   FLAGS_logtostderr = true;
 
   InitGoogleTest(&argc, argv);
-#ifdef HAVE_LIB_GTEST
+#ifdef HAVE_LIB_GMOCK
   InitGoogleMock(&argc, argv);
 #endif