diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-31 15:21:08 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-31 15:21:08 +0900 |
| commit | a69cc2c95e7c7e51a4cd3c0bbfc1e2959c2d09b1 (patch) | |
| tree | 1d641e191600a1253dc1108202f6520a5ac0268b /main.cc | |
| parent | 36eeb75372686651a4a99e51581693d222806232 (diff) | |
[C++] Fix Mac build
Diffstat (limited to 'main.cc')
| -rw-r--r-- | main.cc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -231,9 +231,7 @@ static int Run(const vector<Symbol>& targets, ClearGlobCache(); } - struct timespec ts; - clock_gettime(CLOCK_REALTIME, &ts); - double start_time = ts.tv_sec + ts.tv_nsec * 0.001 * 0.001 * 0.001; + double start_time = GetTime(); MakefileCacheManager* cache_mgr = NewMakefileCacheManager(); |
