1
0
Fork 0

Cygwin patches from Frederic Bouvier.

This commit is contained in:
curt 2005-12-19 16:51:25 +00:00
parent 7d20efc7b1
commit 10558113e8
7 changed files with 20 additions and 3 deletions

View file

@ -22,6 +22,10 @@
// $Id$ // $Id$
// //
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/compiler.h> #include <simgear/compiler.h>
// libnewmat includes and defines // libnewmat includes and defines

View file

@ -22,6 +22,9 @@
// $Id$ // $Id$
// //
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
// libnewmat includes and defines // libnewmat includes and defines
#define WANT_STREAM // include.h will get stream fns #define WANT_STREAM // include.h will get stream fns

View file

@ -21,6 +21,9 @@
// $Id$ // $Id$
// //
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/math/sg_geodesy.hxx> #include <simgear/math/sg_geodesy.hxx>

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "osgb36.hxx" #include "osgb36.hxx"
#include "uk.hxx" #include "uk.hxx"

View file

@ -22,6 +22,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
#include <simgear/bucket/newbucket.hxx> #include <simgear/bucket/newbucket.hxx>
#include <dirent.h> #include <dirent.h>

View file

@ -33,7 +33,7 @@ public:
int x, y; int x, y;
real import; real import;
Candidate() { import = -HUGE; } Candidate() { import = -HUGE_VAL; }
void consider(int sx, int sy, real i) void consider(int sx, int sy, real i)
{ {

View file

@ -8,8 +8,8 @@ using std::endl;
void Map::findLimits() void Map::findLimits()
{ {
min = HUGE; min = HUGE_VAL;
max = -HUGE; max = -HUGE_VAL;
for(int i=0;i<width;i++) for(int i=0;i<width;i++)
for(int j=0;j<height;j++) for(int j=0;j<height;j++)