Index: contrib\earthdistance/earthdistance.c =================================================================== RCS file: c:/prog/cvsrepo/pgsql/pgsql/contrib/earthdistance/earthdistance.c,v retrieving revision 1.11 diff -c -r1.11 earthdistance.c *** contrib\earthdistance/earthdistance.c 30 May 2006 22:12:12 -0000 1.11 --- contrib\earthdistance/earthdistance.c 18 Oct 2006 21:29:25 -0000 *************** *** 2,7 **** --- 2,10 ---- #include "postgres.h" + #ifdef WIN32 + #define _USE_MATH_DEFINES + #endif #include #include "utils/geo_decls.h" /* for Pt */