git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
571ee54
)
s3:lib/time: remove TIME_T_MIN/MAX defines
author
Björn Jacke
<bj@sernet.de>
Wed, 6 Jan 2010 23:41:50 +0000
(
00:41
+0100)
committer
Björn Jacke
<bj@sernet.de>
Wed, 6 Jan 2010 23:50:38 +0000
(
00:50
+0100)
we already get them from lib/util/time.h
source3/lib/time.c
patch
|
blob
|
history
diff --git
a/source3/lib/time.c
b/source3/lib/time.c
index 60949b8bbd75da4bd0a244882cb88e6379269d9c..5286af37fd7eee72d786e5228d1d7b963059e2e5 100644
(file)
--- 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)