[GRASS-SVN] r53301 - grass/trunk/lib/raster3d
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 2 00:01:29 PDT 2012
Author: neteler
Date: 2012-10-02 00:01:28 -0700 (Tue, 02 Oct 2012)
New Revision: 53301
Modified:
grass/trunk/lib/raster3d/doubleio.c
grass/trunk/lib/raster3d/intio.c
Log:
attempt to define u_int etc for MinGW
Modified: grass/trunk/lib/raster3d/doubleio.c
===================================================================
--- grass/trunk/lib/raster3d/doubleio.c 2012-10-02 06:51:48 UTC (rev 53300)
+++ grass/trunk/lib/raster3d/doubleio.c 2012-10-02 07:01:28 UTC (rev 53301)
@@ -4,6 +4,12 @@
#include <unistd.h>
#include "raster3d_intern.h"
+#ifndef _GNU_H_WINDOWS32_SOCKETS
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+typedef unsigned short u_short;
+#endif
+
/*---------------------------------------------------------------------------*/
int Rast3d_write_doubles(int fd, int useXdr, const double *i, int nofNum)
Modified: grass/trunk/lib/raster3d/intio.c
===================================================================
--- grass/trunk/lib/raster3d/intio.c 2012-10-02 06:51:48 UTC (rev 53300)
+++ grass/trunk/lib/raster3d/intio.c 2012-10-02 07:01:28 UTC (rev 53301)
@@ -4,6 +4,12 @@
#include <unistd.h>
#include "raster3d_intern.h"
+#ifndef _GNU_H_WINDOWS32_SOCKETS
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+typedef unsigned short u_short;
+#endif
+
/*---------------------------------------------------------------------------*/
int Rast3d_write_ints(int fd, int useXdr, const int *i, int nofNum)
More information about the grass-commit
mailing list