Closed
Bug 1322831
Opened 8 years ago
Closed 8 years ago
Stopwatch.h won't compile with WINVER=0x0601
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: emk, Unassigned)
References
Details
Attachments
(1 file)
975 bytes,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8817808 -
Flags: review?(jdemooij)
Reporter | ||
Updated•8 years ago
|
Attachment #8817808 -
Attachment description: win7_stopwatch → Remove dependence on Windows types from Stopwatch.h
Comment 1•8 years ago
|
||
Comment on attachment 8817808 [details] [diff] [review] Remove dependence on Windows types from Stopwatch.h Review of attachment 8817808 [details] [diff] [review]: ----------------------------------------------------------------- Hm, okay. #including a Windows API file in our header files is probably undesirable and even if MS ever changes the size of the fields in the PROCESSOR_NUMBER struct, this patch doesn't change much for us (the current code also truncates, thanks to C++).
Attachment #8817808 -
Flags: review?(jdemooij) → review+
Comment 2•8 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #1) > (the current code also truncates, thanks to C++). Sorry this sounds confusing. I meant: the current code is fine, but it *would* truncate in the unlikely event the PROCESSOR_NUMBER struct is modified.
Reporter | ||
Comment 3•8 years ago
|
||
Try run just in case (it is very unlikely to be broken because WINVER is still 0x0501): https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd1fa44a81dcc2011d399bb9973283309396bf84
Pushed by VYV03354@nifty.ne.jp: https://hg.mozilla.org/integration/mozilla-inbound/rev/a01f2d3fd5a2 Remove dependence on Windows types from Stopwatch.h. r=jandem
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a01f2d3fd5a2
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•