Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
d0634aca
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d0634aca
编写于
7月 18, 1999
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
configure cleanup
上级
ef9699d6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
39 deletion
+8
-39
src/backend/port/isinf.c
src/backend/port/isinf.c
+7
-24
src/configure.in
src/configure.in
+0
-11
src/include/config.h.in
src/include/config.h.in
+0
-3
src/include/utils/ps_status.h
src/include/utils/ps_status.h
+1
-1
未找到文件。
src/backend/port/isinf.c
浏览文件 @
d0634aca
/* $Id: isinf.c,v 1.
9 1999/07/17 04:00:29
momjian Exp $ */
/* $Id: isinf.c,v 1.
10 1999/07/18 17:38:23
momjian Exp $ */
#include <math.h>
#include <math.h>
#include "config.h"
#include "config.h"
#if HAVE_FPCLASS
#ifdef NOT_USED
#if HAVE_IEEEFP_H
#if HAVE_IEEEFP_H
#include <ieeefp.h>
#include <ieeefp.h>
#endif
#endif
#if HAVE_FP_CLASS_H
#include <fp_class.h>
#endif
int
int
isinf
(
double
d
)
isinf
(
double
d
)
{
{
...
@@ -24,12 +29,6 @@ isinf(double d)
...
@@ -24,12 +29,6 @@ isinf(double d)
return
0
;
return
0
;
}
}
#else
#if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D)
#if HAVE_FP_CLASS_H
#include <fp_class.h>
#endif
int
int
isinf
(
x
)
isinf
(
x
)
double
x
;
double
x
;
...
@@ -50,19 +49,3 @@ double x;
...
@@ -50,19 +49,3 @@ double x;
}
}
#endif
#endif
#endif
#if defined(HAVE_CLASS)
int
isinf
(
double
x
)
{
int
fpclass
=
class
(
x
);
if
(
fpclass
==
FP_PLUS_INF
)
return
1
;
if
(
fpclass
==
FP_MINUS_INF
)
return
-
1
;
return
0
;
}
#endif
src/configure.in
浏览文件 @
d0634aca
...
@@ -660,17 +660,6 @@ AC_TRY_LINK([#include <fcntl.h>],
...
@@ -660,17 +660,6 @@ AC_TRY_LINK([#include <fcntl.h>],
[AC_DEFINE(HAVE_FCNTL_SETLK) AC_MSG_RESULT(yes)],
[AC_DEFINE(HAVE_FCNTL_SETLK) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
AC_MSG_RESULT(no))
AC_MSG_CHECKING(for good DBL_MIN)
AC_TRY_RUN([#include <stdlib.h>
#include <math.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
AC_MSG_RESULT(yes),
[AC_DEFINE(HAVE_DBL_MIN_PROBLEM) AC_MSG_RESULT(no)],
AC_MSG_RESULT(assuming ok on target machine))
dnl Checks for library functions.
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_TYPE_SIGNAL
...
...
src/include/config.h.in
浏览文件 @
d0634aca
...
@@ -294,9 +294,6 @@ extern void srandom(unsigned int seed);
...
@@ -294,9 +294,6 @@ extern void srandom(unsigned int seed);
/* Set to 1 if you want to Enable ASSERT CHECKING */
/* Set to 1 if you want to Enable ASSERT CHECKING */
#undef USE_ASSERT_CHECKING
#undef USE_ASSERT_CHECKING
/* Set to 1 if your DBL_MIN is problematic */
#undef HAVE_DBL_MIN_PROBLEM
/* Set to 1 if type "long int" works and is 64 bits */
/* Set to 1 if type "long int" works and is 64 bits */
#undef HAVE_LONG_INT_64
#undef HAVE_LONG_INT_64
...
...
src/include/utils/ps_status.h
浏览文件 @
d0634aca
...
@@ -75,7 +75,7 @@ const char **ps_status = NULL
...
@@ -75,7 +75,7 @@ const char **ps_status = NULL
#define PS_STATUS (ps_status ? *ps_status : "")
#define PS_STATUS (ps_status ? *ps_status : "")
#endif
#endif
#ifdef
DONT_HAVE
_PS_STATUS
#ifdef
NO
_PS_STATUS
#define PS_DEFINE_BUFFER
#define PS_DEFINE_BUFFER
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname)
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname)
#define PS_CLEAR_STATUS()
#define PS_CLEAR_STATUS()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录