From e70803833d180fb7e489408e2e8e99a7486896e6 Mon Sep 17 00:00:00 2001 From: Date: Sat, 24 Jan 2009 19:25:56 +0000 Subject: [PATCH] Bug fix: ifdef guard for InitGoogleMock must be HAVE_LIB_GMOCK rather than HAVE_LIB_GTEST. git-svn-id: https://google-glog.googlecode.com/svn/trunk@38 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- src/logging_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging_unittest.cc b/src/logging_unittest.cc index 14c9789..47ac272 100644 --- a/src/logging_unittest.cc +++ b/src/logging_unittest.cc @@ -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