|
7 | 7 | * |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.6 1996/11/0609:29:04 scrappy Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.7 1997/01/0600:08:31 scrappy Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
14 | 14 | #include<math.h> |
15 | 15 | #ifdefWIN32 |
16 | | -#include<float.h> |
17 | | -#include<limits.h> |
18 | | -#defineMAXINT INT_MAX |
| 16 | +#include<float.h> |
| 17 | +#include<limits.h> |
| 18 | +#defineMAXINT INT_MAX |
19 | 19 | #else |
20 | | -# if defined(BSD44_derived)|| \ |
21 | | - defined(bsdi)|| \ |
22 | | - defined(bsdi_2_1) |
23 | | -# include<machine/limits.h> |
24 | | -# defineMAXINTINT_MAX |
| 20 | +# if defined(USE_LIMITS_H) |
| 21 | +# include<machine/limits.h> |
| 22 | +# defineMAXINTINT_MAX |
25 | 23 | # else |
26 | | -# include<values.h> |
27 | | -# endif/* !BSD44_derived */ |
28 | | -#endif/* WIN32 */ |
| 24 | +#include<values.h> |
| 25 | +# endif |
| 26 | +#endif |
29 | 27 |
|
30 | 28 | #include"postgres.h" |
31 | 29 |
|
|