aboutsummaryrefslogtreecommitdiff
path: root/security/certificate-transparency/files/patch-cpp-log-tree_signer_test.cc
blob: 5f85720c4998c679ba2b3dc9016681393519ed10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- cpp/log/tree_signer_test.cc.orig	2016-10-14 17:11:57 UTC
+++ cpp/log/tree_signer_test.cc
@@ -1,4 +1,7 @@
 /* -*- indent-tabs-mode: nil -*- */
+// 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 <gtest/gtest.h>
 #include <stdint.h>
 #include <memory>