Closed Bug 1413993 Opened 7 years ago Closed 7 years ago

Declaration of USEC_PER_SEC conflicts with #define on MacOS

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

Attached patch remove-conflicting-const (deleted) — Splinter Review
The changes in bug 1410132 trigger a compile error in dom/media/mediasource/ContainerParser.cpp on MacOS due to causing mach/clock_types.h to be included, which #defines USEC_PER_SEC. https://treeherder.mozilla.org/logviewer.html#?job_id=141701516&repo=mozilla-inbound&lineNumber=15466 Fortunately this constant doesn't seem to be used anywhere so I think we can just remove it.
Attachment #8924623 - Flags: review?(jyavenard)
Comment on attachment 8924623 [details] [diff] [review] remove-conflicting-const Review of attachment 8924623 [details] [diff] [review]: ----------------------------------------------------------------- Please change the commit title to: Remove unused USEC_PER_SEC constant And in the details explain on the why (conflict and so forth) Thank you.
Attachment #8924623 - Flags: review?(jyavenard) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: