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

Commit151d484

Browse files
committed
Minor changes for NeXT compile
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1 parent3d53b87 commit151d484

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.7 1996/11/0606:49:48 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.8 1997/01/0600:20:11 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -69,16 +69,18 @@ extern doubleatof(const char *p);
6969
#endif
7070

7171
#ifdefNEED_CBRT
72-
#definecbrt my_cbrt
73-
staticdoublecbrt(doublex);
72+
#definecbrt my_cbrt
73+
staticdoublecbrt(doublex);
7474
#else/* NEED_CBRT */
75-
externdoublecbrt(doublex);
75+
# if !defined(next)
76+
externdoublecbrt(doublex);
77+
# endif
7678
#endif/* NEED_CBRT */
7779

7880
#ifdefNEED_RINT
7981
#definerint my_rint
8082
staticdoublerint(doublex);
81-
#else/* NEED_RINT */
83+
else/* NEED_RINT */
8284
externdoublerint(doublex);
8385
#endif/* NEED_RINT */
8486

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.9 1996/12/16 03:34:52 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.10 1997/01/06 00:20:13 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,7 +18,6 @@
1818
#include<sys/timeb.h>
1919
#include"postgres.h"
2020
#include"access/xact.h"
21-
#include"utils/palloc.h"
2221

2322
#defineMAXDATEFIELDS 25
2423

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp