diff options
author | wtc%google.com <devnull@localhost> | 2008-01-27 01:53:42 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-01-27 01:53:42 +0000 |
commit | 85ed39d66675bd9394eb4cca5f7cea9ac5de0716 (patch) | |
tree | 2db5e96997c3aaa0596ff5b4586881396ceae172 | |
parent | 35f3aeee25848f5708f211c7b6fc072fbf372595 (diff) | |
download | nspr-hg-85ed39d66675bd9394eb4cca5f7cea9ac5de0716.tar.gz |
Bug 331043: test only compiler predefined macros. Also test for _M_X64,
which replaces _M_AMD64.
-rw-r--r-- | pr/include/prbit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/include/prbit.h b/pr/include/prbit.h index a964b0ea..0a4e8e9b 100644 --- a/pr/include/prbit.h +++ b/pr/include/prbit.h @@ -121,8 +121,8 @@ NSPR_API(PRIntn) PR_FloorLog2(PRUint32 i); ** construct. */ -#if defined(_MSC_VER) && (defined(_X86_) || defined(_M_IX86) || \ - defined(_AMD64_) || defined(_M_AMD64)) +#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_AMD64) || \ + defined(_M_X64)) #include <stdlib.h> #pragma intrinsic(_rotl, _rotr) #define PR_ROTATE_LEFT32(a, bits) _rotl(a, bits) |