Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: nspr/pr/include/prbit.h

Issue 407383002: Update to NSPR 4.10.7 Beta 3. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nspr/pr/include/pratom.h ('k') | nspr/pr/include/prinit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nspr/pr/include/prbit.h
diff --git a/nspr/pr/include/prbit.h b/nspr/pr/include/prbit.h
index de8375088b48e29f81ad4e9d0f9666fd605f0641..0434fc6838204686887f2306ded34fe6bce691a9 100644
--- a/nspr/pr/include/prbit.h
+++ b/nspr/pr/include/prbit.h
@@ -15,8 +15,7 @@ PR_BEGIN_EXTERN_C
*/
#if defined(_WIN32) && (_MSC_VER >= 1300) && \
(defined(_M_IX86) || defined(_M_AMD64) || defined(_M_ARM))
- unsigned char _BitScanForward(unsigned long * Index, unsigned long Mask);
- unsigned char _BitScanReverse(unsigned long * Index, unsigned long Mask);
+# include <intrin.h>
# pragma intrinsic(_BitScanForward,_BitScanReverse)
__forceinline static int __prBitScanForward32(unsigned int val)
{
« no previous file with comments | « nspr/pr/include/pratom.h ('k') | nspr/pr/include/prinit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698