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 <joerg.bornemann@nokia.com>
This commit is contained in:
Oswald Buddenhagen 2012-02-08 10:21:28 +01:00 committed by Qt by Nokia
parent af93c70de7
commit 0678a7db8e

View File

@ -39,34 +39,11 @@
** **
****************************************************************************/ ****************************************************************************/
#if (defined(_WIN32) || defined(__NT__)) #include <qplatformdefs.h>
# define QT_UNDEF_MACROS_IN_PCH
# define _WINSCARD_H_
# define _POSIX_ /* Make sure PATH_MAX et al. are defined */
# include <limits.h>
# undef _POSIX_ /* Don't polute */
/* Make sure IP v6 is defined first of all, before windows.h */
# include <winsock2.h>
# include <stdlib.h>
#endif
#if defined __cplusplus
#include <qglobal.h> #include <qglobal.h>
#include <qlist.h> #include <qlist.h>
#include <qvariant.h> // All moc genereated code has this include #include <qvariant.h> // All moc genereated code has this include
#include <qplatformdefs.h>
#include <qregexp.h> #include <qregexp.h>
#include <qstring.h> #include <qstring.h>
#include <qstringlist.h> #include <qstringlist.h>
#include <qtextcodec.h> #include <qtextcodec.h>
#include <limits.h>
#include <stdlib.h>
#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