Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
d0634aca
Commit
d0634aca
authored
26 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
configure cleanup
parent
ef9699d6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/backend/port/isinf.c
+7
-24
7 additions, 24 deletions
src/backend/port/isinf.c
src/configure.in
+0
-11
0 additions, 11 deletions
src/configure.in
src/include/config.h.in
+0
-3
0 additions, 3 deletions
src/include/config.h.in
src/include/utils/ps_status.h
+1
-1
1 addition, 1 deletion
src/include/utils/ps_status.h
with
8 additions
and
39 deletions
src/backend/port/isinf.c
+
7
−
24
View file @
d0634aca
/* $Id: isinf.c,v 1.
9
1999/07/1
7 04:00
:2
9
momjian Exp $ */
/* $Id: isinf.c,v 1.
10
1999/07/1
8 17:38
:2
3
momjian Exp $ */
#include
<math.h>
#include
"config.h"
#if HAVE_FPCLASS
#ifdef NOT_USED
#if HAVE_IEEEFP_H
#include
<ieeefp.h>
#endif
#if HAVE_FP_CLASS_H
#include
<fp_class.h>
#endif
int
isinf
(
double
d
)
{
...
...
@@ -24,12 +29,6 @@ isinf(double d)
return
0
;
}
#else
#if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D)
#if HAVE_FP_CLASS_H
#include
<fp_class.h>
#endif
int
isinf
(
x
)
double
x
;
...
...
@@ -50,19 +49,3 @@ double x;
}
#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
This diff is collapsed.
Click to expand it.
src/configure.in
+
0
−
11
View file @
d0634aca
...
...
@@ -660,17 +660,6 @@ AC_TRY_LINK([#include <fcntl.h>],
[AC_DEFINE(HAVE_FCNTL_SETLK) AC_MSG_RESULT(yes)],
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.
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
...
...
This diff is collapsed.
Click to expand it.
src/include/config.h.in
+
0
−
3
View file @
d0634aca
...
...
@@ -294,9 +294,6 @@ extern void srandom(unsigned int seed);
/* Set to 1 if you want to Enable 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 */
#undef HAVE_LONG_INT_64
...
...
This diff is collapsed.
Click to expand it.
src/include/utils/ps_status.h
+
1
−
1
View file @
d0634aca
...
...
@@ -75,7 +75,7 @@ const char **ps_status = NULL
#define PS_STATUS (ps_status ? *ps_status : "")
#endif
#ifdef
DONT_HAVE
_PS_STATUS
#ifdef
NO
_PS_STATUS
#define PS_DEFINE_BUFFER
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname)
#define PS_CLEAR_STATUS()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment