mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 10:17:11 +02:00
11 lines
410 B
Diff
11 lines
410 B
Diff
--- a/src/FDM/JSBSim/JSBSim.cpp
|
|
+++ b/src/FDM/JSBSim/JSBSim.cpp
|
|
@@ -280,7 +280,7 @@
|
|
_clearfp();
|
|
_controlfp(_controlfp(0, 0) & ~(_EM_INVALID | _EM_ZERODIVIDE | _EM_OVERFLOW),
|
|
_MCW_EM);
|
|
-#elif defined(__GNUC__) && !defined(sgi) && !defined(__APPLE__)
|
|
+#elif defined(__GNUC__) && !defined(sgi) && !defined(__APPLE__) && defined(__GLIBC__)
|
|
feenableexcept(FE_DIVBYZERO | FE_INVALID);
|
|
#endif
|
|
|