Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7badb1e commit 2798162Copy full SHA for 2798162
src/backend/port/isinf.c
@@ -1,9 +1,11 @@
1
-/* $Id: isinf.c,v 1.11 1999/07/18 20:43:12 momjian Exp $ */
+/* $Id: isinf.c,v 1.12 1999/07/18 20:43:33 momjian Exp $ */
2
3
#include <math.h>
4
+
5
#include "config.h"
6
-#if HAVE_FPCLASS
7
+#if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not typo */
8
9
#if HAVE_IEEEFP_H
10
#include <ieeefp.h>
11
#endif
@@ -26,6 +28,7 @@ isinf(double d)
26
28
#else
27
29
30
#if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D)
31
32
#if HAVE_FP_CLASS_H
33
#include <fp_class.h>
34
@@ -48,10 +51,7 @@ double x;
48
51
return 0;
49
52
}
50
53
-#endif
-
54
-#if defined(HAVE_CLASS)
+#else defined(HAVE_CLASS)
55
int
56
isinf(double x)
57
{
@@ -65,3 +65,5 @@ isinf(double x)
65
66
67
68
+#endif
69
0 commit comments