Skip to content

Commit

Permalink
Fixed to build on older versions of 32-bit MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
mitza-oci committed Apr 24, 2015
1 parent 7f43373 commit a9250d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/rapidjson/internal/diyfp.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@
#ifndef RAPIDJSON_DIYFP_H_
#define RAPIDJSON_DIYFP_H_

#if defined(_MSC_VER)
#if defined(_MSC_VER) && defined(_M_AMD64)
#include <intrin.h>
#if defined(_M_AMD64)
#pragma intrinsic(_BitScanReverse64)
#endif
#endif

RAPIDJSON_NAMESPACE_BEGIN
namespace internal {
Expand Down

0 comments on commit a9250d1

Please sign in to comment.