# endif
#endif
+#if defined (__CYGWIN__)
+#include <ieeefp.h>
+#endif
+
+
#include STL_IOSTREAM
#include <simgear/debug/logstream.hxx>
SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" );
SG_LOG( SG_GENERAL, SG_ALERT, " "+string(alutGetErrorString(error)));
working = false;
+ context = 0;
+ }
+ else
+ {
+ working = true;
+ context = alcGetCurrentContext();
}
- context = alcGetCurrentContext();
#else
if ( (dev = alcOpenDevice( NULL )) != NULL
&& ( context = alcCreateContext( dev, NULL )) != NULL ) {