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
This commit is contained in:
2009-01-24 19:25:56 +00:00
parent 0b79295aa9
commit e70803833d

View 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