Add a macro GCC_VERSION and use it to control code paths.
Code paths that work on lower version of GCC are required because
Mac OS will never move beyond GCC 4.2. I added the code paths so
that Mac builds can pass.
Change-Id: I4a3340355133dff4a5107b94970bc809d9de264e
diff --git a/src/logging.h b/src/logging.h
index 51d4496..9e10bd9 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -191,7 +191,11 @@
private:
T& value_;
+
+// TODO: Remove the #if when Mac OS build server no longer uses GCC 4.2.*.
+#if GCC_VERSION >= 40300
DISALLOW_COPY_AND_ASSIGN(Dumpable);
+#endif
};
template<typename T>