Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2c8223f

Browse files
author
Thomas G. Lockhart
committed
Fix up comments where had been uglified by the automated reformatter.
1 parent0b96c6f commit2c8223f

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

‎src/include/utils/nabstime.h

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: nabstime.h,v 1.23 2000/02/16 17:26:26 thomas Exp $
10+
* $Id: nabstime.h,v 1.24 2000/03/27 17:07:48 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -52,14 +52,10 @@ typedef TimeIntervalData *TimeInterval;
5252
*so redefine them explicitly using these bit patterns. - tgl 97/02/24
5353
*/
5454
#defineEPOCH_ABSTIME((AbsoluteTime) 0)
55-
#defineINVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE)/* 2147483647 == 2^31 -
56-
* 1 */
57-
#defineCURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD)/* 2147483646 == 2^31 -
58-
* 2 */
59-
#defineNOEND_ABSTIME((AbsoluteTime) 0x7FFFFFFC)/* 2147483645 == 2^31 -
60-
* 3 */
61-
#defineBIG_ABSTIME((AbsoluteTime) 0x7FFFFFFB)/* 2147483644 == 2^31 -
62-
* 4 */
55+
#defineINVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE)/* 2147483647 (2^31 - 1) */
56+
#defineCURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD)/* 2147483646 (2^31 - 2) */
57+
#defineNOEND_ABSTIME((AbsoluteTime) 0x7FFFFFFC)/* 2147483645 (2^31 - 3) */
58+
#defineBIG_ABSTIME((AbsoluteTime) 0x7FFFFFFB)/* 2147483644 (2^31 - 4) */
6359

6460
#if defined(_AIX)
6561
/*
@@ -70,11 +66,10 @@ typedef TimeIntervalData *TimeInterval;
7066
*/
7167
#defineNOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
7268
#else
73-
#defineNOSTART_ABSTIME ((AbsoluteTime) 0x80000001)/* -2147483647==- 2^31 */
69+
#defineNOSTART_ABSTIME ((AbsoluteTime) 0x80000001)/* -2147483647(- 2^31) */
7470
#endif/* _AIX */
7571

76-
#defineINVALID_RELTIME ((RelativeTime) 0x7FFFFFFE)/* 2147483647 == 2^31 -
77-
* 1 */
72+
#defineINVALID_RELTIME ((RelativeTime) 0x7FFFFFFE)/* 2147483647 (2^31 - 1) */
7873

7974
#defineAbsoluteTimeIsValid(time) \
8075
((bool) ((time) != INVALID_ABSTIME))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp