[GRASS5] values.h changed to limits.h

Markus Neteler neteler at geog.uni-hannover.de
Tue Nov 21 13:26:13 EST 2000


Hi all,

I have search the source code and changed all
#include <values.h>

to 

#include <limits.h>

and some MAXDOUBLE to DBL_MAX etc.
These files were affected:
./src/mapdev/v.in.arc/GenToDig.c
./src/mapdev/v.rmdup/cmd/rmdup.c  
./src/raster/r.in.dem/trans_ll2u.c
./src/raster/wildfire/src/r.spread/pick_ignite.c
./src/raster/wildfire/src/r.spread/pick_dist.c  
./src/raster/wildfire/src/r.spread/prob_invsqr.c
./src.contrib/NPS/d.distance/nearest_node.c
./src.garden/grass.postgresql/v.in.arc.pg/GenToDig.c

I hope the values.h story is fixed now.

If these changes are *not* o.k. for some platforms, we would 
have to change that again to:

#include "config.h" 
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_VALUES_H
#include <values.h>
#endif

Regards

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list