]> granicus.if.org Git - postgis/commitdiff
changed USE_GEOS check from ifdef / ifndef to if / if !
authorSandro Santilli <strk@keybit.net>
Thu, 12 Feb 2004 10:34:49 +0000 (10:34 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 12 Feb 2004 10:34:49 +0000 (10:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@447 b70326c6-7e19-0410-871a-916f4a2858ee

postgis_fn.c
postgis_geos.c

index c0c22c14a423e9aacd4d3961bfd23ec561f9bc1a..239915202422bcf1251e672728f513fc1c3af1f7 100644 (file)
@@ -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)
 {
index 73d2460e8a44d00568da25c9839114b96bc983fa..9a78b063ec2ac9217cb92c83b9f73bdad39f276b 100644 (file)
@@ -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