*
**********************************************************************
* $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.
*
#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
*
**********************************************************************
* $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)
*
**********************************************************************
* $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)
*
**********************************************************************
* $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)
*
**********************************************************************
* $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)
*
**********************************************************************
* $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)