Commit e7080383 authored by 's avatar

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
parent 0b79295a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment