From 0678a7db8e8eb6997b0acb106dd4347ef8c76fbe 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 --- tools/configure/configure_pch.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'tools/configure/configure_pch.h') diff --git a/tools/configure/configure_pch.h b/tools/configure/configure_pch.h index 6f601c7c29..0831364fe1 100644 --- a/tools/configure/configure_pch.h +++ b/tools/configure/configure_pch.h @@ -39,34 +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 */ -# include -# 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 v1.2.3