[GRASS-SVN] r45789 - in grass/branches/develbranch_6: general/g.region include

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 27 05:33:17 EDT 2011


Author: hamish
Date: 2011-03-27 02:33:16 -0700 (Sun, 27 Mar 2011)
New Revision: 45789

Modified:
   grass/branches/develbranch_6/general/g.region/printwindow.c
   grass/branches/develbranch_6/include/gprojects.h
Log:
projects.h dropped in proj4 upstream rev 1975. (#1335)

Modified: grass/branches/develbranch_6/general/g.region/printwindow.c
===================================================================
--- grass/branches/develbranch_6/general/g.region/printwindow.c	2011-03-27 08:29:53 UTC (rev 45788)
+++ grass/branches/develbranch_6/general/g.region/printwindow.c	2011-03-27 09:33:16 UTC (rev 45789)
@@ -1,10 +1,5 @@
 #include <string.h>
 #include <stdlib.h>
-
-#ifndef __MINGW32__
-#include <projects.h>
-#endif
-
 #include <grass/gis.h>
 #include <grass/gprojects.h>
 #include <grass/glocale.h>

Modified: grass/branches/develbranch_6/include/gprojects.h
===================================================================
--- grass/branches/develbranch_6/include/gprojects.h	2011-03-27 08:29:53 UTC (rev 45788)
+++ grass/branches/develbranch_6/include/gprojects.h	2011-03-27 09:33:16 UTC (rev 45789)
@@ -107,9 +107,8 @@
 void GPJ_free_ellps(struct gpj_ellps *);
 
 
-#ifdef __MINGW32__
 /* PROJ.4's private datastructures copied from projects.h as removed
-   from osgeo4w; pending better solution. see:
+   from upstream; pending better solution. see:
    http://trac.osgeo.org/proj/ticket/98 */
 
 typedef struct { double u, v; } LP;
@@ -131,6 +130,5 @@
 
 int pj_factors(LP, void *, double, struct FACTORS *);
 /* end of copy */
-#endif
 
 #endif



More information about the grass-commit mailing list