From c3e31c7ba1d29c9b967035a6d697820114e1c087 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 22 Jan 2013 23:05:41 -0500 Subject: Replace autoconf int max test with simple define --- src/core/manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') 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; -- cgit v1.2.3-54-g00ecf