aboutsummaryrefslogtreecommitdiff
path: root/security/certificate-transparency/files/patch-cpp-util-fake_etcd_test.cc
blob: f451deee86758f8fc8987accabb3c601005eb726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- cpp/util/fake_etcd_test.cc.orig	2015-11-20 15:53:01.290954000 +0100
+++ cpp/util/fake_etcd_test.cc	2015-11-20 15:53:17.991665000 +0100
@@ -4,6 +4,9 @@
 #include <functional>
 #include <gflags/gflags.h>
 #include <glog/logging.h>
+// 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 <memory>