commit | 702befcaafe658291f1f6ca2ec6293dbcdac5bbb | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Wed Jan 27 17:21:39 2016 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Wed Jan 27 17:34:10 2016 +0900 |
tree | cc77e2edcc518524dc62312c56cbd53ee32117c2 | |
parent | 6ca9cfe313bafd3f2ef8278140d2a8fe3ee67de3 [diff] [blame] |
[C++] Re-invent C++11-ish thread library Android's build system uses -static to build ckati, and you cannot use C++11's threading library with -static. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590
diff --git a/stats.cc b/stats.cc index e1e7992..9d4a160 100644 --- a/stats.cc +++ b/stats.cc
@@ -16,11 +16,11 @@ #include "stats.h" -#include <mutex> #include <vector> #include "flags.h" #include "log.h" +#include "mutex.h" #include "stringprintf.h" #include "thread_local.h" #include "timeutil.h"