Content-Length: 255905 | pFad | http://github.com/postgrespro/postgres/commit/8e211f5391465bddda79e17e63c79dbc8c70e6d1

C9 Add float.h include to int8.c, for isnan(). · postgrespro/postgres@8e211f5 · GitHub
Skip to content

Commit 8e211f5

Browse files
committed
Add float.h include to int8.c, for isnan().
port.h redirects isnan() to _isnan() on windows, which in turn is provided by float.h rather than math.h. Therefore include the latter as well. Per buildfarm.
1 parent f512a6e commit 8e211f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/utils/adt/int8.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "postgres.h"
1515

1616
#include <ctype.h>
17+
#include <float.h> /* for _isnan */
1718
#include <limits.h>
1819
#include <math.h>
1920

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8e211f5391465bddda79e17e63c79dbc8c70e6d1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy