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

Commitf504e5a

Browse files
committed
Taking a chance here. Under both Solaris and FreeBSD, there is a
/usr/include/limits.h (which quiets the costsize.c warnings)...underFreeBSD, /usr/include/limits.h *includes* machine/limits.h, while underSolaris, there is no such things as /usr/include/machine...Problem with Solaris pointed out by Mark Wahl
1 parent0aa4cfc commitf504e5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/backend/optimizer/path/costsize.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.9 1997/01/13 03:54:15 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.10 1997/01/22 04:41:45 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
# defineMAXINT INT_MAX
2323
#else
2424
# if defined(USE_LIMITS_H)
25-
# include<machine/limits.h>
25+
# include<limits.h>
2626
# defineMAXINTINT_MAX
2727
# else
2828
# ifdefUSE_VALUES_H

‎src/include/config.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
#endif
9999

100100
#if defined(i386_solaris)
101+
# defineUSE_LIMITS_H
101102
# defineUSE_POSIX_TIME
102103
# define USE_POSIX_SIGNALS
103104
# defineNEED_ISINF
@@ -172,6 +173,7 @@
172173
#endif
173174

174175
#if defined(sparc_solaris)
176+
# defineUSE_LIMITS_H
175177
# defineUSE_POSIX_TIME
176178
# define USE_POSIX_SIGNALS
177179
# defineNEED_ISINF

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp