aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-02 16:24:55 +0200
committerMattias Andrée <maandree@kth.se>2021-04-02 16:24:55 +0200
commit63145b929b143cfc8858a220d3e1d7fc88f7031e (patch)
treeddcf0e8a0dd72e1e9abebc4a26214cae8cb88d9e /common.h
parentFirst commit (diff)
downloadlibcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.gz
libcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.bz2
libcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.xz
Add block info
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index bf886cd..aa6a1b3 100644
--- a/common.h
+++ b/common.h
@@ -12,6 +12,9 @@
#include <unistd.h>
+#define TIME_MAX ((time_t)((1ULL << (8 * sizeof(time_t) - 1)) - 1ULL))
+
+
#define DESTROY_ALL(LIST, FUNC)\
do {\
void *destroy_all_temp__;\