Change #ifdef to #if defined

This commit is contained in:
Charles Milette 2019-07-25 17:17:52 -04:00
parent dfc0b35360
commit 02230fecbf
No known key found for this signature in database
GPG Key ID: 1A5AE81377AD973A

View File

@ -38,9 +38,9 @@ inline uint32_t clzll(uint64_t x) {
// infinite loop in the software implementation.
RAPIDJSON_ASSERT(x != 0);
#ifdef _MSC_VER
#if defined(_MSC_VER)
unsigned long r = 0;
#ifdef _WIN64
#if defined(_WIN64)
_BitScanReverse64(&r, x);
#else
// Scan the high 32 bits.