aboutsummaryrefslogtreecommitdiff
path: root/security/certificate-transparency/files/patch-cpp-util-etcd_test.cc
blob: 5b8cdd9eb91a8e07290130dd2032315e9d20923b (plain) (blame)
1
2
3
4
5
6
7
8
9
--- cpp/util/etcd_test.cc.orig	2016-10-14 17:11:57 UTC
+++ cpp/util/etcd_test.cc
@@ -1,3 +1,6 @@
+// Without this, build will fail due to clash between onigposix.h
+// and regex.h; note it's only compiled with "make check".
+#define GTEST_HAS_POSIX_RE 0
 #include <gmock/gmock.h>
 #include <gtest/gtest.h>
 #include <list>