1From eaf5d2ec9953b8bd299f486fc96d85d2f114c40d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 3 Sep 2017 10:11:50 -0700
4Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc
5
6musl does not have feenableexcept function
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Upstream-Status: Pending
10---
11 tests/auto/corelib/text/qlocale/tst_qlocale.cpp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
15index 6ff6995440..1f36c6fefa 100644
16--- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
17+++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
18@@ -46,7 +46,7 @@
19 #include <private/qlocale_tools_p.h>
20 #include <qnumeric.h>
21
22-#if defined(Q_OS_LINUX) && !defined(__UCLIBC__)
23+#if defined(Q_OS_LINUX) && defined(__GLIBC__)
24 #    define QT_USE_FENV
25 #endif
26
27