14 lines
412 B
Diff
14 lines
412 B
Diff
--- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
|
|
+++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
|
|
@@ -1453,8 +1453,10 @@ void tst_QLocale::fpExceptions()
|
|
fenv_t envp;
|
|
fegetenv(&envp);
|
|
feclearexcept(FE_ALL_EXCEPT);
|
|
+#ifdef __GLIBC__
|
|
feenableexcept(FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW | FE_INVALID);
|
|
#endif
|
|
+#endif
|
|
|
|
QString::number(1000.1245);
|
|
QString::number(1.1);
|