summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-07 00:41:50 +0100
committerKarolin Seeger <kseeger@samba.org>2010-05-17 09:50:11 +0200
commit1915731be9d04af662bd51b2ee79f3a2bcfac0c8 (patch)
tree661ae693b5d0a050dde6b7fc43a00b04e46a1144 /source3/lib
parentc107d6410544fc813974680f7d0da94255884c6c (diff)
downloadsamba-1915731be9d04af662bd51b2ee79f3a2bcfac0c8.tar.gz
s3:lib/time: remove TIME_T_MIN/MAX defines
we already get them from lib/util/time.h (cherry picked from commit f5729dbb6e720cb6076ea053f1ad0680259e6b39) The last two patches address bug #7352 (TIME_T_MAX defines inconsistent). (cherry picked from commit 3668914ce12d0dc5a2f84159a8bd3e82a2ca32a1)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index a418c42dd76..181ac485a39 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -28,14 +28,6 @@
*/
-#ifndef TIME_T_MIN
-#define TIME_T_MIN ((time_t)0 < (time_t) -1 ? (time_t) 0 \
- : ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
-#endif
-#ifndef TIME_T_MAX
-#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)
-#endif
-
#define NTTIME_INFINITY (NTTIME)0x8000000000000000LL
#if (SIZEOF_LONG == 8)