From cf60176e141a930d7960b9a69b621e9bec03cea8 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 8 Feb 2012 10:21:28 +0100 Subject: remove bizarre magic from precompiled header it doesn't serve any puropse (any more?) and it breaks the mingw build. Change-Id: I02a5e7502586e7e9f5956991498ff602eff66e81 Reviewed-by: Joerg Bornemann (cherry picked from commit 0678a7db8e8eb6997b0acb106dd4347ef8c76fbe) --- tools/configure/configure_pch.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/tools/configure/configure_pch.h b/tools/configure/configure_pch.h index 596a743..87215d4 100644 --- a/tools/configure/configure_pch.h +++ b/tools/configure/configure_pch.h @@ -39,36 +39,11 @@ ** ****************************************************************************/ -#if (defined(_WIN32) || defined(__NT__)) -# define QT_UNDEF_MACROS_IN_PCH -# define _WINSCARD_H_ -# define _POSIX_ /* Make sure PATH_MAX et al. are defined */ -# include -# undef _POSIX_ /* Don't polute */ - - /* Make sure IP v6 is defined first of all, before windows.h */ -# ifndef QT_NO_IPV6 -# include -# endif -# include -#endif - -#if defined __cplusplus +#include #include #include #include // All moc genereated code has this include -#include #include #include #include #include - -#include -#include -#endif - -#if defined(QT_UNDEF_MACROS_IN_PCH) -# undef max /* These are defined in windef.h, but */ -# undef min /* we don't want them when building Qt */ -# undef _WINSCARD_H_ -#endif -- cgit v0.12