snappy/snappy-1.0.0-gtest.patch

14 lines
364 B
Diff
Raw Normal View History

2011-03-24 19:15:37 +00:00
diff --git a/snappy-test.h b/snappy-test.h
--- a/snappy-test.h
+++ b/snappy-test.h
@@ -66,7 +66,8 @@
#define DEFINE_int32(flag_name, default_value, description) \
static int FLAGS_ ## flag_name = default_value;
-#define InitGoogle(argv0, argc, argv, remove_flags)
+#define InitGoogle(argv0, argc, argv, remove_flags) \
+ INIT_GTEST(argc, argv);
#endif