From d3071ba70cc716c33e0b50360a2ceb8067a19974 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 12 Feb 2004 10:34:49 +0000 Subject: [PATCH] changed USE_GEOS check from ifdef / ifndef to if / if ! git-svn-id: http://svn.osgeo.org/postgis/trunk@447 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis_fn.c | 5 ++++- postgis_geos.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/postgis_fn.c b/postgis_fn.c index c0c22c14a..239915202 100644 --- a/postgis_fn.c +++ b/postgis_fn.c @@ -11,6 +11,9 @@ * ********************************************************************** * $Log$ + * Revision 1.32 2004/02/12 10:34:49 strk + * changed USE_GEOS check from ifdef / ifndef to if / if ! + * * Revision 1.31 2003/11/11 10:58:43 strk * Fixed a typo in envelope() * @@ -2262,7 +2265,7 @@ Datum isclosed(PG_FUNCTION_ARGS) PG_RETURN_BOOL(TRUE); } -#ifndef USE_GEOS +#if ! USE_GEOS PG_FUNCTION_INFO_V1(centroid); Datum centroid(PG_FUNCTION_ARGS) { diff --git a/postgis_geos.c b/postgis_geos.c index 73d2460e8..9a78b063e 100644 --- a/postgis_geos.c +++ b/postgis_geos.c @@ -10,6 +10,9 @@ * ********************************************************************** * $Log$ + * Revision 1.27 2004/02/12 10:34:49 strk + * changed USE_GEOS check from ifdef / ifndef to if / if ! + * * Revision 1.26 2003/12/12 12:03:29 strk * More debugging output, some code cleanup. * @@ -244,7 +247,7 @@ POLYGON3D *PolyFromGeometry(Geometry *g, int *size); LINE3D *LineFromGeometry(Geometry *g, int *size); void NOTICE_MESSAGE(char *msg); -#ifdef USE_GEOS +#if USE_GEOS //----------------------------------------------- // return a GEOS Geometry from a POSTGIS GEOMETRY -- 2.40.0