Cygwin patches from Frederic Bouvier.
This commit is contained in:
parent
7d20efc7b1
commit
10558113e8
7 changed files with 20 additions and 3 deletions
|
@ -22,6 +22,10 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
// libnewmat includes and defines
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
// libnewmat includes and defines
|
||||
#define WANT_STREAM // include.h will get stream fns
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <simgear/math/sg_geodesy.hxx>
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "osgb36.hxx"
|
||||
#include "uk.hxx"
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
--------------------------------------------------------------------------
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
#include <simgear/bucket/newbucket.hxx>
|
||||
#include <dirent.h>
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
int x, y;
|
||||
real import;
|
||||
|
||||
Candidate() { import = -HUGE; }
|
||||
Candidate() { import = -HUGE_VAL; }
|
||||
|
||||
void consider(int sx, int sy, real i)
|
||||
{
|
||||
|
|
|
@ -8,8 +8,8 @@ using std::endl;
|
|||
|
||||
void Map::findLimits()
|
||||
{
|
||||
min = HUGE;
|
||||
max = -HUGE;
|
||||
min = HUGE_VAL;
|
||||
max = -HUGE_VAL;
|
||||
|
||||
for(int i=0;i<width;i++)
|
||||
for(int j=0;j<height;j++)
|
||||
|
|
Loading…
Reference in a new issue