Closed Bug 420217 Opened 16 years ago Closed 16 years ago

InterlockedCompareExchange needs to be extern "C" when using a C++ compiler

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

Causing red on the windows mozilla-central tinderbox... change is trivial.
Attachment #306414 - Flags: review?(brendan)
Comment on attachment 306414 [details] [diff] [review]
Use JS_BEGIN_EXTERN_C around the decl, rev. 1

C++ compilation is good.

/be
Attachment #306414 - Flags: review?(brendan)
Attachment #306414 - Flags: review+
Attachment #306414 - Flags: approval1.9b4?
Attachment #306414 - Flags: approval1.9+
Comment on attachment 306414 [details] [diff] [review]
Use JS_BEGIN_EXTERN_C around the decl, rev. 1

a1.9b4=beltzner
Attachment #306414 - Flags: approval1.9b4? → approval1.9b4+
Summary: InterlockedComparreExchange needs to be exterrn "C" when using a C++ compiler → InterlockedCompareExchange needs to be extern "C" when using a C++ compiler
I landed this on trunk last week.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: