snappy/snappy-1.0.0-gtest.patch

14 lines
364 B
Diff

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