Commit 2c8223f1 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix up comments where had been uglified by the automated reformatter.

parent 0b96c6f4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: nabstime.h,v 1.23 2000/02/16 17:26:26 thomas Exp $ * $Id: nabstime.h,v 1.24 2000/03/27 17:07:48 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -52,14 +52,10 @@ typedef TimeIntervalData *TimeInterval; ...@@ -52,14 +52,10 @@ typedef TimeIntervalData *TimeInterval;
* so redefine them explicitly using these bit patterns. - tgl 97/02/24 * so redefine them explicitly using these bit patterns. - tgl 97/02/24
*/ */
#define EPOCH_ABSTIME ((AbsoluteTime) 0) #define EPOCH_ABSTIME ((AbsoluteTime) 0)
#define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE) /* 2147483647 == 2^31 - #define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE) /* 2147483647 (2^31 - 1) */
* 1 */ #define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD) /* 2147483646 (2^31 - 2) */
#define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD) /* 2147483646 == 2^31 - #define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC) /* 2147483645 (2^31 - 3) */
* 2 */ #define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB) /* 2147483644 (2^31 - 4) */
#define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC) /* 2147483645 == 2^31 -
* 3 */
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB) /* 2147483644 == 2^31 -
* 4 */
#if defined(_AIX) #if defined(_AIX)
/* /*
...@@ -70,11 +66,10 @@ typedef TimeIntervalData *TimeInterval; ...@@ -70,11 +66,10 @@ typedef TimeIntervalData *TimeInterval;
*/ */
#define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN) #define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
#else #else
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 == - 2^31 */ #define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 (- 2^31) */
#endif /* _AIX */ #endif /* _AIX */
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE) /* 2147483647 == 2^31 - #define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE) /* 2147483647 (2^31 - 1) */
* 1 */
#define AbsoluteTimeIsValid(time) \ #define AbsoluteTimeIsValid(time) \
((bool) ((time) != INVALID_ABSTIME)) ((bool) ((time) != INVALID_ABSTIME))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment