[GRASS-SVN] r37860 - in grass/trunk/lib/vector: Vlib diglib vedit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 13 04:08:25 EDT 2009
Author: mmetz
Date: 2009-06-13 04:08:24 -0400 (Sat, 13 Jun 2009)
New Revision: 37860
Modified:
grass/trunk/lib/vector/Vlib/Makefile
grass/trunk/lib/vector/Vlib/area.c
grass/trunk/lib/vector/Vlib/array.c
grass/trunk/lib/vector/Vlib/box.c
grass/trunk/lib/vector/Vlib/break_lines.c
grass/trunk/lib/vector/Vlib/break_polygons.c
grass/trunk/lib/vector/Vlib/bridges.c
grass/trunk/lib/vector/Vlib/buffer.c
grass/trunk/lib/vector/Vlib/buffer2.c
grass/trunk/lib/vector/Vlib/build.c
grass/trunk/lib/vector/Vlib/build_ogr.c
grass/trunk/lib/vector/Vlib/cats.c
grass/trunk/lib/vector/Vlib/cindex.c
grass/trunk/lib/vector/Vlib/clean_nodes.c
grass/trunk/lib/vector/Vlib/close.c
grass/trunk/lib/vector/Vlib/close_ogr.c
grass/trunk/lib/vector/Vlib/dangles.c
grass/trunk/lib/vector/Vlib/dbcolumns.c
grass/trunk/lib/vector/Vlib/dgraph.c
grass/trunk/lib/vector/Vlib/error.c
grass/trunk/lib/vector/Vlib/field.c
grass/trunk/lib/vector/Vlib/find.c
grass/trunk/lib/vector/Vlib/graph.c
grass/trunk/lib/vector/Vlib/header.c
grass/trunk/lib/vector/Vlib/hist.c
grass/trunk/lib/vector/Vlib/init_head.c
grass/trunk/lib/vector/Vlib/intersect.c
grass/trunk/lib/vector/Vlib/legal_vname.c
grass/trunk/lib/vector/Vlib/level_two.c
grass/trunk/lib/vector/Vlib/line.c
grass/trunk/lib/vector/Vlib/list.c
grass/trunk/lib/vector/Vlib/map.c
grass/trunk/lib/vector/Vlib/merge_lines.c
grass/trunk/lib/vector/Vlib/net.c
grass/trunk/lib/vector/Vlib/open_ogr.c
grass/trunk/lib/vector/Vlib/overlap.c
grass/trunk/lib/vector/Vlib/overlay.c
grass/trunk/lib/vector/Vlib/poly.c
grass/trunk/lib/vector/Vlib/read_ogr.c
grass/trunk/lib/vector/Vlib/remove_areas.c
grass/trunk/lib/vector/Vlib/remove_duplicates.c
grass/trunk/lib/vector/Vlib/rewind_ogr.c
grass/trunk/lib/vector/Vlib/select.c
grass/trunk/lib/vector/Vlib/sindex.c
grass/trunk/lib/vector/Vlib/snap.c
grass/trunk/lib/vector/Vlib/type.c
grass/trunk/lib/vector/Vlib/write_nat.c
grass/trunk/lib/vector/diglib/Makefile
grass/trunk/lib/vector/diglib/allocation.c
grass/trunk/lib/vector/diglib/angle.c
grass/trunk/lib/vector/diglib/box.c
grass/trunk/lib/vector/diglib/cindex.c
grass/trunk/lib/vector/diglib/frmt.c
grass/trunk/lib/vector/diglib/inside.c
grass/trunk/lib/vector/diglib/line_dist.c
grass/trunk/lib/vector/diglib/list.c
grass/trunk/lib/vector/diglib/plus_area.c
grass/trunk/lib/vector/diglib/plus_node.c
grass/trunk/lib/vector/diglib/poly.c
grass/trunk/lib/vector/diglib/prune.c
grass/trunk/lib/vector/diglib/spindex.c
grass/trunk/lib/vector/diglib/struct_alloc.c
grass/trunk/lib/vector/diglib/type.c
grass/trunk/lib/vector/diglib/update.c
grass/trunk/lib/vector/vedit/Makefile
grass/trunk/lib/vector/vedit/break.c
grass/trunk/lib/vector/vedit/cats.c
grass/trunk/lib/vector/vedit/zbulk.c
Log:
temporarily disabling LFS, LFS update
Modified: grass/trunk/lib/vector/Vlib/Makefile
===================================================================
--- grass/trunk/lib/vector/Vlib/Makefile 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/Makefile 2009-06-13 08:08:24 UTC (rev 37860)
@@ -12,10 +12,5 @@
include $(MODULE_TOPDIR)/include/Make/Lib.make
-#compile if LFS (Large File Support) present:
-ifneq ($(USE_LARGEFILES),)
- EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
-endif
-
default: lib
Modified: grass/trunk/lib/vector/Vlib/area.c
===================================================================
--- grass/trunk/lib/vector/Vlib/area.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/area.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/array.c
===================================================================
--- grass/trunk/lib/vector/Vlib/array.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/array.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/dbmi.h>
Modified: grass/trunk/lib/vector/Vlib/box.c
===================================================================
--- grass/trunk/lib/vector/Vlib/box.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/box.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/break_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/break_lines.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/break_lines.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
* \author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/break_polygons.c
===================================================================
--- grass/trunk/lib/vector/Vlib/break_polygons.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/break_polygons.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
\author Update for GRASS 7 Markus Metz
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/bridges.c
===================================================================
--- grass/trunk/lib/vector/Vlib/bridges.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/bridges.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/buffer.c
===================================================================
--- grass/trunk/lib/vector/Vlib/buffer.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/buffer.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -17,6 +17,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/buffer2.c
===================================================================
--- grass/trunk/lib/vector/Vlib/buffer2.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/buffer2.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
\author Rewritten by Rosen Matev (Google Summer of Code 2008)
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/build.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/build.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Original author CERL, probably Dave Gerdes or Mike Higgins.
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
Modified: grass/trunk/lib/vector/Vlib/build_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build_ogr.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/build_ogr.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Radim Blazek, Piero Cavalieri
*/
+#include <grass/config.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Modified: grass/trunk/lib/vector/Vlib/cats.c
===================================================================
--- grass/trunk/lib/vector/Vlib/cats.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/cats.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
* \author Various updates by Martin Landa <landa.martin gmail.com>
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/cindex.c
===================================================================
--- grass/trunk/lib/vector/Vlib/cindex.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/cindex.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
* \author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
Modified: grass/trunk/lib/vector/Vlib/clean_nodes.c
===================================================================
--- grass/trunk/lib/vector/Vlib/clean_nodes.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/clean_nodes.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/close.c
===================================================================
--- grass/trunk/lib/vector/Vlib/close.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/close.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Modified: grass/trunk/lib/vector/Vlib/close_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/close_ogr.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/close_ogr.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and Piero Cavalieri.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/Vlib/dangles.c
===================================================================
--- grass/trunk/lib/vector/Vlib/dangles.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/dangles.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/dbcolumns.c
===================================================================
--- grass/trunk/lib/vector/Vlib/dbcolumns.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/dbcolumns.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Markus Neteler
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Modified: grass/trunk/lib/vector/Vlib/dgraph.c
===================================================================
--- grass/trunk/lib/vector/Vlib/dgraph.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/dgraph.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Rewritten by Rosen Matev (Google Summer of Code 2008)
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/error.c
===================================================================
--- grass/trunk/lib/vector/Vlib/error.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/error.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/field.c
===================================================================
--- grass/trunk/lib/vector/Vlib/field.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/field.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -18,6 +18,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Modified: grass/trunk/lib/vector/Vlib/find.c
===================================================================
--- grass/trunk/lib/vector/Vlib/find.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/find.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
* \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/graph.c
===================================================================
--- grass/trunk/lib/vector/Vlib/graph.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/graph.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/header.c
===================================================================
--- grass/trunk/lib/vector/Vlib/header.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/header.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/hist.c
===================================================================
--- grass/trunk/lib/vector/Vlib/hist.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/hist.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Modified: grass/trunk/lib/vector/Vlib/init_head.c
===================================================================
--- grass/trunk/lib/vector/Vlib/init_head.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/init_head.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -17,6 +17,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/intersect.c
===================================================================
--- grass/trunk/lib/vector/Vlib/intersect.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/intersect.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -65,6 +65,7 @@
\author Update to GRASS 5.7 Radim Blazek.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/legal_vname.c
===================================================================
--- grass/trunk/lib/vector/Vlib/legal_vname.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/legal_vname.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -11,6 +11,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/level_two.c
===================================================================
--- grass/trunk/lib/vector/Vlib/level_two.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/level_two.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -12,6 +12,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/line.c
===================================================================
--- grass/trunk/lib/vector/Vlib/line.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/line.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -12,6 +12,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/list.c
===================================================================
--- grass/trunk/lib/vector/Vlib/list.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/list.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
* \author Update to GRASS 5.7 Radim Blazek and David D. Gray
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/map.c
===================================================================
--- grass/trunk/lib/vector/Vlib/map.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/map.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
* \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <dirent.h>
Modified: grass/trunk/lib/vector/Vlib/merge_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/merge_lines.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/merge_lines.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\author Markus Metz
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/net.c
===================================================================
--- grass/trunk/lib/vector/Vlib/net.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/net.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,13 +13,14 @@
* \author Radim Blazek
*/
-#include<stdlib.h>
-#include<string.h>
-#include<fcntl.h>
-#include<grass/gis.h>
-#include<grass/dbmi.h>
-#include<grass/Vect.h>
-#include<grass/glocale.h>
+#include <grass/config.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#include <grass/gis.h>
+#include <grass/dbmi.h>
+#include <grass/Vect.h>
+#include <grass/glocale.h>
static int From_node; /* from node set in SP and used by clipper for first arc */
Modified: grass/trunk/lib/vector/Vlib/open_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open_ogr.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/open_ogr.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
Modified: grass/trunk/lib/vector/Vlib/overlap.c
===================================================================
--- grass/trunk/lib/vector/Vlib/overlap.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/overlap.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,8 @@
\author Original author CERL, probably Dave Gerdes or Mike Higgins.
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/overlay.c
===================================================================
--- grass/trunk/lib/vector/Vlib/overlay.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/overlay.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <string.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/Vlib/poly.c
===================================================================
--- grass/trunk/lib/vector/Vlib/poly.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/poly.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek and David D. Gray.
*/
+#include <grass/config.h>
#include <math.h>
#include <stdlib.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/read_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read_ogr.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/read_ogr.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek, Piero Cavalieri
*/
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/trunk/lib/vector/Vlib/remove_areas.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/remove_areas.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/remove_duplicates.c
===================================================================
--- grass/trunk/lib/vector/Vlib/remove_duplicates.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/remove_duplicates.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/rewind_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/rewind_ogr.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/rewind_ogr.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek, Piero Cavalieri
*/
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/select.c
===================================================================
--- grass/trunk/lib/vector/Vlib/select.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/select.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/sindex.c
===================================================================
--- grass/trunk/lib/vector/Vlib/sindex.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/sindex.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Martin Landa <landa.martin gmail.com> (storing sidx to file)
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/Vlib/snap.c
===================================================================
--- grass/trunk/lib/vector/Vlib/snap.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/snap.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* \author update to GRASS 7 Markus Metz
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/Vlib/type.c
===================================================================
--- grass/trunk/lib/vector/Vlib/type.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/type.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\author Radim Blazek
*/
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/Vlib/write_nat.c
===================================================================
--- grass/trunk/lib/vector/Vlib/write_nat.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/Vlib/write_nat.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -23,7 +23,6 @@
#include <grass/config.h>
#include <stdio.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <math.h>
Modified: grass/trunk/lib/vector/diglib/Makefile
===================================================================
--- grass/trunk/lib/vector/diglib/Makefile 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/Makefile 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,7 +14,6 @@
#compile if LFS (Large File Support) present:
ifneq ($(USE_LARGEFILES),)
- EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
TESTFILE = test64.ok
else
TESTFILE = test32.ok
Modified: grass/trunk/lib/vector/diglib/allocation.c
===================================================================
--- grass/trunk/lib/vector/diglib/allocation.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/allocation.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <unistd.h>
#include <stdlib.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/angle.c
===================================================================
--- grass/trunk/lib/vector/diglib/angle.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/angle.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -22,8 +22,9 @@
* returns - (float)(-9) if only 1 point or more points but identical
*/
+#include <grass/config.h>
#include <stdio.h>
-#include <math.h>
+#include <math.h>
#include <grass/Vect.h>
static double d_atan2(double, double);
Modified: grass/trunk/lib/vector/diglib/box.c
===================================================================
--- grass/trunk/lib/vector/diglib/box.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/box.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/cindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/cindex.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/cindex.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/diglib/frmt.c
===================================================================
--- grass/trunk/lib/vector/diglib/frmt.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/frmt.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <string.h>
#include <stdio.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/inside.c
===================================================================
--- grass/trunk/lib/vector/diglib/inside.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/inside.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/line_dist.c
===================================================================
--- grass/trunk/lib/vector/diglib/line_dist.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/line_dist.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,7 +15,7 @@
* for details.
*
*****************************************************************************/
-#include <math.h>
+#include <math.h>
#define ZERO(x) ((x) < tolerance && (x) > -tolerance)
#define TOLERANCE 1.0e-10
Modified: grass/trunk/lib/vector/diglib/list.c
===================================================================
--- grass/trunk/lib/vector/diglib/list.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/list.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/plus_area.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_area.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/plus_area.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* \date 2001-2006
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/plus_node.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_node.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/plus_node.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* \date 2001-2006
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/poly.c
===================================================================
--- grass/trunk/lib/vector/diglib/poly.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/poly.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
* for details.
*
*****************************************************************************/
+#include <grass/config.h>
#include <math.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/prune.c
===================================================================
--- grass/trunk/lib/vector/diglib/prune.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/prune.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -67,6 +67,7 @@
* Value returned : - the final number of points in the pruned set.
*/
+#include <grass/config.h>
#include <stdio.h>
#include <grass/Vect.h>
#include <math.h>
Modified: grass/trunk/lib/vector/diglib/spindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/spindex.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
\author Update to GRASS 5.7 Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
Modified: grass/trunk/lib/vector/diglib/struct_alloc.c
===================================================================
--- grass/trunk/lib/vector/diglib/struct_alloc.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/struct_alloc.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -16,6 +16,7 @@
*
*****************************************************************************/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/type.c
===================================================================
--- grass/trunk/lib/vector/diglib/type.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/type.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* \date 2001
*/
+#include <grass/config.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/diglib/update.c
===================================================================
--- grass/trunk/lib/vector/diglib/update.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/diglib/update.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -14,6 +14,7 @@
* \author Radim Blazek
*/
+#include <grass/config.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Modified: grass/trunk/lib/vector/vedit/Makefile
===================================================================
--- grass/trunk/lib/vector/vedit/Makefile 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/vedit/Makefile 2009-06-13 08:08:24 UTC (rev 37860)
@@ -11,11 +11,6 @@
include $(MODULE_TOPDIR)/include/Make/Lib.make
include $(MODULE_TOPDIR)/include/Make/Doxygen.make
-#compile if LFS (Large File Support) present:
-ifneq ($(USE_LARGEFILES),)
- EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
-endif
-
default: lib
# doxygen
Modified: grass/trunk/lib/vector/vedit/break.c
===================================================================
--- grass/trunk/lib/vector/vedit/break.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/vedit/break.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -13,6 +13,7 @@
\date 2007-2008
*/
+#include <grass/config.h>
#include <math.h>
#include <grass/vedit.h>
Modified: grass/trunk/lib/vector/vedit/cats.c
===================================================================
--- grass/trunk/lib/vector/vedit/cats.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/vedit/cats.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\date 2006-2008
*/
+#include <grass/config.h>
#include <grass/glocale.h>
#include <grass/vedit.h>
Modified: grass/trunk/lib/vector/vedit/zbulk.c
===================================================================
--- grass/trunk/lib/vector/vedit/zbulk.c 2009-06-12 20:27:12 UTC (rev 37859)
+++ grass/trunk/lib/vector/vedit/zbulk.c 2009-06-13 08:08:24 UTC (rev 37860)
@@ -15,6 +15,7 @@
\date 2007-2008
*/
+#include <grass/config.h>
#include <grass/dbmi.h>
#include <grass/vedit.h>
More information about the grass-commit
mailing list