Allow building with MinGW on Win32
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
People
(Reporter: tarnyko, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.87 KB,
patch
|
Details | Diff | Splinter Review |
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Updated•6 years ago
|
Comment 4•5 years ago
|
||
jc, is that something you could review? thanks
Comment 5•5 years ago
|
||
It seems to me that including windows.h in this header is desired nor needed. Any recent mingw-w64 version supports intrin.h, so it should work just fine. I'd need to know what's the exact problem with it.
Also, mingw should also be fine with sync* variant of PR_ATOMIC* macro, so if Windows intrins are problematic for some reason, we could probably change the header to use that instead.
But, I don't know what's the problem. I didn't do standalone builds for a long time, but I'm pretty sure that mingw build as part of Gecko works.
Whoa, it's moving ^^.
<windows.h> set apart, this change was probably valid 6 years ago.
Meanwhile, MinGW-64 took prio over MinGW32 and lots of things changed. I don't have the build environment anymore, so I couldn't confirm anyway.
You can close this (or I'll do if I can).
Updated•5 years ago
|
Description
•