1 diff --git a/re2/dfa.cc b/re2/dfa.cc
2 index 2556c0f..f1fc7b0 100644
6 #include "util/flags.h"
7 #include "util/sparse_set.h"
9 +#define NO_THREAD_SAFETY_ANALYSIS
11 DEFINE_bool(re2_dfa_bail_when_slow, true,
12 "Whether the RE2 DFA should bail out early "
13 "if the NFA would be faster (for testing).");
14 diff --git a/util/util.h b/util/util.h
15 index 471c64f..c46ab1b 100644
22 +#include "base/third_party/dynamic_annotations/dynamic_annotations.h"
27 @@ -119,8 +121,6 @@ static inline uint64 Hash64StringWithSeed(const char* s, int len, uint32 seed) {
28 return ((uint64)x << 32) | y;
31 -int RunningOnValgrind();
35 #include "util/arena.h"