- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user