qglobal.h: fix build in assembler mode

QT_CONFIG and some other macros are unavailable there.

Change-Id: Ia53158e207a94bf49489fffd14c8d306e2dbd9d2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Thiago Macieira 2017-06-16 22:55:02 -07:00
parent 92cfa3dfa6
commit 919b12d969

View File

@ -46,8 +46,9 @@
# include <cstddef>
# include <utility>
#endif
#include <stddef.h>
#ifndef __ASSEMBLER__
# include <stddef.h>
#endif
/*
QT_VERSION is (major << 16) + (minor << 8) + patch.
@ -188,6 +189,7 @@ namespace QT_NAMESPACE {}
# define QT_LARGEFILE_SUPPORT 64
#endif
#ifndef __ASSEMBLER__
QT_BEGIN_NAMESPACE
/*
@ -1173,5 +1175,6 @@ QT_END_NAMESPACE
#include <QtCore/qversiontagging.h>
#endif /* __cplusplus */
#endif /* !__ASSEMBLER__ */
#endif /* QGLOBAL_H */