summaryrefslogtreecommitdiff
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-06 14:08:35 +0200
commit56454403033a8d5ae97ab9a19567dd380759750a (patch)
tree00045d895ea5bb1d2995d5077bad685333d3dbd3
parent9b81137e4302c82a4a7d31e3076ccc280348c569 (diff)
downloadsamba-56454403033a8d5ae97ab9a19567dd380759750a.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 be86206167acb55bee2722c48a5ea09535cf2b99)
-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 839ebe94b20..0eee0088b7e 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)