From 8e8a55e6602f595c084a5849c2deeb8fdc3eafb7 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 10 Sep 2021 16:46:38 +0200 Subject: [PATCH] Tidy up #includes in tst_qlocale.cpp System headers were jumbled in with Qt headers. Separate those out and use standard names for Qt headers. Tidied some #if-ery. Change-Id: Ic8c61797303567eeaef48e2560e91924ddb380f0 Reviewed-by: Thiago Macieira --- .../auto/corelib/text/qlocale/tst_qlocale.cpp | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp index d68af22585e..1c271ffefba 100644 --- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp @@ -26,32 +26,30 @@ ** ****************************************************************************/ - #include -#include -#include -#include -#include +#include + +#include +#include +#include +#include +#include +#if QT_CONFIG(process) +# include +#endif #include #include -#include -#if QT_CONFIG(process) -# include -#endif -#include -#include #include #include -#include #include "../../../../shared/localechange.h" -#if defined(Q_OS_LINUX) && !defined(__UCLIBC__) -# define QT_USE_FENV -#endif +#include +#include -#ifdef QT_USE_FENV -# include +#if defined(Q_OS_LINUX) && !defined(__UCLIBC__) +# include +# define QT_USE_FENV #endif #if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)