]> granicus.if.org Git - postgis/commitdiff
Minor syntactical changes to try and allow compilation on IRIX.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 25 Mar 2002 02:04:38 +0000 (02:04 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 25 Mar 2002 02:04:38 +0000 (02:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@131 b70326c6-7e19-0410-871a-916f4a2858ee

postgis.h
postgis_debug.c

index 7c94c108c64872b51d1303f3785366439dd61712..0dd33c398205aa1e9e5125ce15395fc1492523db 100644 (file)
--- a/postgis.h
+++ b/postgis.h
@@ -56,7 +56,7 @@ typedef struct
  *           this is the long diagonal
  *
  * example:
- *   'BOX([0.0,0.0,0.0],[10.0,10.0,10.0])'
+ *   BOX([0.0,0.0,0.0],[10.0,10.0,10.0])
  *
  *     NOTE:  You CAN make columns in your database of this type
  *              IT IS NOT A TRUE GEOMETRY!
@@ -188,7 +188,7 @@ typedef struct chiptag
 {
        int     size; //unused (for use by postgresql)
 
-       int     endian_hint;  // the number '1' in the endian of this datastruct
+       int     endian_hint;  // the number 1 in the endian of this datastruct
 
        BOX3D    bvol;
        int      SRID;
@@ -220,7 +220,7 @@ typedef struct chiptag
 //  Originally, we used BOXONLYTYPE geometries as our keys, but after
 //   Oleg and teodor (http://www.sai.msu.su/~megera/postgres/gist/)
 //   have released a more generic rtree/gist index for geo_decls.h polygon
-//   type.  I'm using a slightly modified version of this, so 
+//   type.  I am using a slightly modified version of this, so 
 //   it will be easier to maintain.
 //
 //   Their indexing is based on the BOX object, so we include it here.
@@ -529,7 +529,7 @@ GISTENTRY * rtree_decompress(PG_FUNCTION_ARGS);
 
 /*--------------------------------------------------------------------
  * Useful floating point utilities and constants.
- * from postgres's geo_decls.c 
+ * from postgres geo_decls.c 
  * EPSILON modified to be more "double" friendly
  *-------------------------------------------------------------------*/
 
index 52bac7e365d4ebf840b6f83d92807f60ee2c5676..675f31bd7db6f02860efd5548116d7375349dc5c 100644 (file)
 //  it defines BYTE_ORDER and LITTLE_ENDIAN 
 
 #ifdef __CYGWIN__
-#include <sys/param.h>       // FOR ENDIAN DEFINES
+#include <sys/param.h>       
 #endif
 
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)