Skip to content

Commit 2798162

Browse files
committed
cleanup
1 parent 7badb1e commit 2798162

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/backend/port/isinf.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
/* $Id: isinf.c,v 1.11 1999/07/18 20:43:12 momjian Exp $ */
1+
/* $Id: isinf.c,v 1.12 1999/07/18 20:43:33 momjian Exp $ */
22

33
#include <math.h>
4+
45
#include "config.h"
56

6-
#if HAVE_FPCLASS
7+
#if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not typo */
8+
79
#if HAVE_IEEEFP_H
810
#include <ieeefp.h>
911
#endif
@@ -26,6 +28,7 @@ isinf(double d)
2628
#else
2729

2830
#if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D)
31+
2932
#if HAVE_FP_CLASS_H
3033
#include <fp_class.h>
3134
#endif
@@ -48,10 +51,7 @@ double x;
4851
return 0;
4952
}
5053

51-
#endif
52-
#endif
53-
54-
#if defined(HAVE_CLASS)
54+
#else defined(HAVE_CLASS)
5555
int
5656
isinf(double x)
5757
{
@@ -65,3 +65,5 @@ isinf(double x)
6565
}
6666

6767
#endif
68+
#endif
69+
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy