diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-16 23:02:03 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-16 23:03:08 +0300 |
commit | 01482f7632e86a12b9ee6d97eafa1dafa712f84e (patch) | |
tree | f73daafd9a094f473c8edc5097dca21256ba4a9e /include/fs.h | |
parent | f2c1beb5c3139238a3570d8f5052635519367d26 (diff) | |
download | revela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.tar.gz revela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.zip |
Re-render album html when album.ini changedv0.1.2
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 00be8a1..71c566b 100644 --- a/include/fs.h +++ b/include/fs.h @@ -41,6 +41,9 @@ bool isimage(const char *fname); */ const char *delext(const char *restrict basename, char *restrict dest, size_t n); +#define TIMEQUAL(a, b) \ + ((a).tv_sec == (b).tv_sec && (a).tv_nsec == (b).tv_nsec) + /* * -1 if error; 0 if the timestamps are different; 1 if they are equal. */ |