From f6e00ae128ab9d92a71abd3fabb9360dc497bcfe Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 19 Oct 2006 20:03:08 +0000 Subject: Further MSVC portability fixes from Magnus. --- contrib/earthdistance/earthdistance.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/earthdistance/earthdistance.c b/contrib/earthdistance/earthdistance.c index 1f7baa3c30..b60370483b 100644 --- a/contrib/earthdistance/earthdistance.c +++ b/contrib/earthdistance/earthdistance.c @@ -1,7 +1,10 @@ -/* $PostgreSQL: pgsql/contrib/earthdistance/earthdistance.c,v 1.11 2006/05/30 22:12:12 tgl Exp $ */ +/* $PostgreSQL: pgsql/contrib/earthdistance/earthdistance.c,v 1.12 2006/10/19 20:03:07 tgl Exp $ */ #include "postgres.h" +#ifdef WIN32 +#define _USE_MATH_DEFINES +#endif #include #include "utils/geo_decls.h" /* for Pt */ -- cgit v1.2.1