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

Commit37c168f

Browse files
committed
timeb.h only used when not using POSIX_TIME
1 parent59dcac1 commit37c168f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/backend/utils/adt/nabstime.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.10 1997/01/06 00:20:13 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.11 1997/01/10 18:22:41 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<stdio.h>
1515
#include<ctype.h>
1616
#include<string.h>
1717
#include<sys/types.h>
18-
#include<sys/timeb.h>
1918
#include"postgres.h"
19+
#ifndefUSE_POSIX_TIME
20+
#include<sys/timeb.h>
21+
#endif
2022
#include"access/xact.h"
2123

2224
#defineMAXDATEFIELDS 25

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp