]> granicus.if.org Git - postgis/commitdiff
Moved Cygwin endian define out of source files into postgis.h common
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 25 Jul 2003 17:08:37 +0000 (17:08 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 25 Jul 2003 17:08:37 +0000 (17:08 +0000)
header file.

git-svn-id: http://svn.osgeo.org/postgis/trunk@280 b70326c6-7e19-0410-871a-916f4a2858ee

postgis.h
postgis_debug.c
postgis_estimate.c
postgis_fn.c
postgis_inout.c
postgis_ops.c

index ac90759028349507d1569805e41c201002567d34..bb4815d1b44ab92a209e0ef0ae58f6c6f2e2ba5f 100644 (file)
--- a/postgis.h
+++ b/postgis.h
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.31  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.30  2003/07/01 18:30:55  pramsey
  * Added CVS revision headers.
  *
@@ -24,8 +28,6 @@
 
 #include "utils/geo_decls.h"
 
-
-
 #define        POINTTYPE       1
 #define        LINETYPE        2
 #define        POLYGONTYPE     3
 #define        COLLECTIONTYPE  7
 #define        BBOXONLYTYPE    99
 
+/*
+ * Norman Vine found this problem for compiling under cygwin
+ * it defines BYTE_ORDER and LITTLE_ENDIAN
+ */
+
+#ifdef __CYGWIN__
+#include <sys/param.h>       // FOR ENDIAN DEFINES
+#endif
+
 
 //standard definition of an ellipsoid (what wkt calls a spheroid)
 //     f = (a-b)/a
index 554b0d0ae639f33a77e8a92ccf82fa5c4843ab69..84755af3cdb55f58ddff7c2250e6828dff78ec76 100644 (file)
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.10  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.9  2003/07/01 18:30:55  pramsey
  * Added CVS revision headers.
  *
 #include "utils/elog.h"
 
 
-//Norman Vine found this problem for compiling under cygwin
-//  it defines BYTE_ORDER and LITTLE_ENDIAN
-
-#ifdef __CYGWIN__
-#include <sys/param.h>
-#endif
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)
 
index 8625ce5ac85d9efbf50e97ad860be9b703c93cca..1a3da700ec5be8f72313680ab42f06740823eabb 100644 (file)
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.6  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.5  2003/07/01 18:30:55  pramsey
  * Added CVS revision headers.
  *
 #include "postgis.h"
 #include "utils/elog.h"
 
-//Norman Vine found this problem for compiling under cygwin
-//  it defines BYTE_ORDER and LITTLE_ENDIAN
-
-#ifdef __CYGWIN__
-#include <sys/param.h>       // FOR ENDIAN DEFINES
-#endif
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)
 
index fd50110f86e3cf7ee569722652854c6c1dae962a..b59bdc7962d01ca8828befdb9c0391fa7d16fa9b 100644 (file)
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.23  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.22  2003/07/01 18:30:55  pramsey
  * Added CVS revision headers.
  *
 #include "utils/elog.h"
 
 
-//Norman Vine found this problem for compiling under cygwin
-//  it defines BYTE_ORDER and LITTLE_ENDIAN 
-
-#ifdef __CYGWIN__
-#include <sys/param.h>       // FOR ENDIAN DEFINES
-#endif
-
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)
 
index 3b2f5fbac92f667cdd4b75342595808a64a541e7..0a3388b9ba2586e455387aa2409f4a398890d2da 100644 (file)
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.23  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.22  2003/07/08 18:35:54  dblasby
  * changed asbinary_specify() so that it is more aware of TEXT being
  * un-terminated.
 #include "utils/elog.h"
 
 
-//Norman Vine found this problem for compiling under cygwin
-//  it defines BYTE_ORDER and LITTLE_ENDIAN
-
-#ifdef __CYGWIN__
-#include <sys/param.h>       // FOR ENDIAN DEFINES
-#endif
-
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)
 
index 05aeb4eb5985c32f92a8c5cdaea74638a57c660f..3413b8e2e8c004ff400d1cc6f4acf3b6a347a630 100644 (file)
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.10  2003/07/25 17:08:37  pramsey
+ * Moved Cygwin endian define out of source files into postgis.h common
+ * header file.
+ *
  * Revision 1.9  2003/07/01 18:30:55  pramsey
  * Added CVS revision headers.
  *
 #include "postgis.h"
 #include "utils/elog.h"
 
-//Norman Vine found this problem for compiling under cygwin
-//  it defines BYTE_ORDER and LITTLE_ENDIAN 
-
-#ifdef __CYGWIN__
-#include <sys/param.h>       // FOR ENDIAN DEFINES
-#endif
-
 #define SHOW_DIGS_DOUBLE 15
 #define MAX_DIGS_DOUBLE (SHOW_DIGS_DOUBLE + 6 + 1 + 3 +1)