snappy/snappy-1.0.0-gtest.patch
2011-03-24 20:15:37 +01:00

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