postgres.git / summary / log / commit / refs
commit 45c88a55c2845a8f67934fa17ac9256f3a7d799f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Feb 03 03:25:55 2010 +0000
First released in: 9.0.0
Add #include <float.h> --- guessing the lack of this is why Windows
machines are all rejecting isinf() calls in this file.
src/interfaces/ecpg/ecpglib/execute.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 48b38dab1e4..53442774241 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.91 2010/02/02 16:09:11 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.92 2010/02/03 03:25:55 tgl Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -17,6 +17,7 @@
#include "postgres_fe.h"
#include <locale.h>
+#include <float.h>
#include <math.h>
#include "pg_type.h"
[parent: 98e314550c32]