Merge pull request #317 from mitza-oci/patch-1
Fixed to build on older versions of 32-bit MSVC
This commit is contained in:
commit
1a2d99df50
@ -19,12 +19,10 @@
|
|||||||
#ifndef RAPIDJSON_DIYFP_H_
|
#ifndef RAPIDJSON_DIYFP_H_
|
||||||
#define RAPIDJSON_DIYFP_H_
|
#define RAPIDJSON_DIYFP_H_
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER) && defined(_M_AMD64)
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
#if defined(_M_AMD64)
|
|
||||||
#pragma intrinsic(_BitScanReverse64)
|
#pragma intrinsic(_BitScanReverse64)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
RAPIDJSON_NAMESPACE_BEGIN
|
RAPIDJSON_NAMESPACE_BEGIN
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user