diff options
author | wtc%google.com <devnull@localhost> | 2008-01-26 22:12:10 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-01-26 22:12:10 +0000 |
commit | cfc39465d6e635150960339902bbfa3afb468435 (patch) | |
tree | 72e3c9e4d82f1d2617ca32fe615006b2e966c23b | |
parent | 0d7c1092b426f47c9a5d824f1ed1b0bddd821f06 (diff) | |
download | nspr-hg-cfc39465d6e635150960339902bbfa3afb468435.tar.gz |
Bug 331043: need to test the _M_IX86 macro, which is defined by MSVC.
_X86_ is defined by <windows.h>.
-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 cda9bd71..a964b0ea 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(_AMD64_) || \ - defined(_M_AMD64)) +#if defined(_MSC_VER) && (defined(_X86_) || defined(_M_IX86) || \ + defined(_AMD64_) || defined(_M_AMD64)) #include <stdlib.h> #pragma intrinsic(_rotl, _rotr) #define PR_ROTATE_LEFT32(a, bits) _rotl(a, bits) |