Patch from Julian Schauder
References #3795 for PostGIS 2.4 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15510
b70326c6-7e19-0410-871a-
916f4a2858ee
#include <errno.h>
#include <ctype.h>
+/* Fall back to older finite() if necessary */
+#ifndef HAVE_ISFINITE
+# ifdef HAVE_GNU_ISFINITE
+# define _GNU_SOURCE
+# else
+# define isfinite finite
+# endif
+#endif
+
+
/* Prototypes */
Datum gserialized_gist_joinsel(PG_FUNCTION_ARGS);
Datum gserialized_gist_joinsel_2d(PG_FUNCTION_ARGS);