summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-22 23:05:41 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-22 23:20:15 -0500
commitc3e31c7ba1d29c9b967035a6d697820114e1c087 (patch)
treee84b6da84ee271efa515765a0e21b137945a0ff9 /src/core/manager.c
parent5dbe9f539849a9404a92858e5b70b36408812fbd (diff)
Replace autoconf int max test with simple define
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 9c829fdb3b..b538a9a3ae 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -81,6 +81,8 @@
/* Where clients shall send notification messages to */
#define NOTIFY_SOCKET "@/org/freedesktop/systemd1/notify"
+#define TIME_T_MAX (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1)
+
static int manager_setup_notify(Manager *m) {
union {
struct sockaddr sa;