Include intrin.h header when using MSVC

Allows the usage of _BitScanForward, _BitScanReverse, __popcnt and
__popcnt16 functions.
Fixes part of the build with MSVC15.

Change-Id: I5ec37184209196ad19beddb4d6a36f9a9fd3b315
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Jesus Fernandez 2016-10-12 15:14:46 +02:00 committed by Thiago Macieira
parent 6ec86513dd
commit 951b34453b

View File

@ -42,6 +42,10 @@
#include <QtCore/qglobal.h>
#if defined(Q_CC_MSVC)
#include <intrin.h>
#endif
QT_BEGIN_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Wdeprecated-declarations")