diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 20:03:08 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 20:03:08 +0000 |
| commit | f6e00ae128ab9d92a71abd3fabb9360dc497bcfe (patch) | |
| tree | a50b8001e91524a5f3a1a7ec40d75ac8fc990a95 /contrib | |
| parent | 6bc1f9b334b27e9a374290824fe37dddc5002594 (diff) | |
Further MSVC portability fixes from Magnus.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/earthdistance/earthdistance.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/earthdistance/earthdistance.c b/contrib/earthdistance/earthdistance.c index 1f7baa3c30a..b60370483ba 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 <math.h> #include "utils/geo_decls.h" /* for Pt */ |
