diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-01-27 17:21:39 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-01-27 17:34:10 +0900 |
commit | 702befcaafe658291f1f6ca2ec6293dbcdac5bbb (patch) | |
tree | cc77e2edcc518524dc62312c56cbd53ee32117c2 /stats.h | |
parent | 6ca9cfe313bafd3f2ef8278140d2a8fe3ee67de3 (diff) | |
download | kati-702befcaafe658291f1f6ca2ec6293dbcdac5bbb.tar.gz |
[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
Diffstat (limited to 'stats.h')
-rw-r--r-- | stats.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,9 +15,10 @@ #ifndef STATS_H_ #define STATS_H_ -#include <mutex> #include <string> +#include "mutex.h" + using namespace std; class Stats { |