diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-08 22:03:13 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-08 22:03:13 +0100 |
commit | e641699717e5e1a58da975ec7357baefb8526095 (patch) | |
tree | 3ed90c683189e9526c9ca3f08efe90ce22fbe16f /src/blogc-make/rules.c | |
parent | d41c2fcdd9366fb3f1fcb11aceed919bfebbed61 (diff) | |
download | blogc-e641699717e5e1a58da975ec7357baefb8526095.tar.gz blogc-e641699717e5e1a58da975ec7357baefb8526095.tar.bz2 blogc-e641699717e5e1a58da975ec7357baefb8526095.zip |
make: fix compilation on android
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r-- | src/blogc-make/rules.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c index ca4b376..52afb2d 100644 --- a/src/blogc-make/rules.c +++ b/src/blogc-make/rules.c @@ -790,13 +790,13 @@ bm_rule_need_rebuild(bc_slist_t *sources, bm_filectx_t *settings, rv = true; break; } - if (source->timestamp.tv_sec == output->timestamp.tv_sec) { - if (source->timestamp.tv_nsec > output->timestamp.tv_nsec) { + if (source->tv_sec == output->tv_sec) { + if (source->tv_nsec > output->tv_nsec) { rv = true; break; } } - else if (source->timestamp.tv_sec > output->timestamp.tv_sec) { + else if (source->tv_sec > output->tv_sec) { rv = true; break; } |