1
0
Fork 0

Mcc build fix for JSBsim executable.

This commit is contained in:
James Turner 2017-01-12 12:29:19 +00:00
parent 52572ef1f3
commit 88fc98f57b

View file

@ -287,7 +287,7 @@ int main(int argc, char* argv[])
_clearfp();
_controlfp(_controlfp(0, 0) & ~(_EM_INVALID | _EM_ZERODIVIDE | _EM_OVERFLOW),
_MCW_EM);
#elif defined(__GNUC__) && !defined(sgi)
#elif defined(__GNUC__) && !defined(sgi) && !defined(__APPLE__)
feenableexcept(FE_DIVBYZERO | FE_INVALID);
#endif