Compile time fixes needed to build SimGear on recent cygwin versions.

This commit is contained in:
durk
2006-10-22 19:42:17 +00:00
parent 20005a7a22
commit f8303b4623
4 changed files with 22 additions and 0 deletions

View File

@@ -18,6 +18,15 @@
#ifndef SGQuat_H
#define SGQuat_H
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
/// 3D Vector Class
template<typename T>
class SGQuat {

View File

@@ -56,6 +56,9 @@
# endif
#endif
#if defined (__CYGWIN__)
#include <ieeefp.h>
#endif
static ssgSharedPtr<ssgStateSelector> layer_states[SGCloudLayer::SG_MAX_CLOUD_COVERAGES];
static bool state_initialized = false;

View File

@@ -54,6 +54,11 @@ SG_USING_STD(vector);
# endif
#endif
#if defined (__CYGWIN__)
#include <ieeefp.h>
#endif
extern SGSky *thesky;
static list_of_culledCloud inViewClouds;

View File

@@ -63,6 +63,11 @@ extern "C" int isinf (double);
# endif
#endif
#if defined (__CYGWIN__)
#include <ieeefp.h>
#endif
#include STL_IOSTREAM
#include <simgear/debug/logstream.hxx>