- A few fixes to ensure SimGear compiles again on cygwin.

* on cygwin, isnan is declared in ieeepf.h
  * CYGWIN is a special case in that it is windows based, but sometimes
    folows unix conventions. SGAtomic compilation failed on an illegal
    volatile type cast without the additional __CYGWIN__ define check.
This commit is contained in:
durk
2007-10-15 18:49:50 +00:00
parent 25cefd9129
commit 0c8358ae67
5 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
#elif defined(__sgi) && defined(_COMPILER_VERSION) && (_COMPILER_VERSION>=730)
// No need to include something. Is a Compiler API ...
# define SGATOMIC_USE_MIPSPRO_BUILTINS
#elif defined(WIN32)
#elif defined(WIN32) && !defined ( __CYGWIN__ )
# include <windows.h>
# define SGATOMIC_USE_WIN32_INTERLOCKED
#else