mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Patch from Robert Longson <longsonr@gmail.com> for _InterlockedCompareExchange on MSVC7.1 (416813, r=me).
This commit is contained in:
parent
84590b7a1f
commit
0c8245fc08
@ -86,6 +86,8 @@ js_UnlockGlobal(void *id)
|
||||
/* Exclude Alpha NT. */
|
||||
#if defined(_WIN32) && defined(_M_IX86)
|
||||
#pragma warning( disable : 4035 )
|
||||
extern long __cdecl
|
||||
_InterlockedCompareExchange(long *volatile dest, long exchange, long comp);
|
||||
#pragma intrinsic(_InterlockedCompareExchange)
|
||||
|
||||
static JS_INLINE int
|
||||
|
Loading…
Reference in New Issue
Block a user