Compile time fixes needed to build SimGear on recent cygwin versions.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user