Bug 1824084 Comment 14 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

i've reread the code, and since there's a failsafe handing of not having CLOCK_BOOTIME defined in https://searchfox.org/mozilla-central/source/mozglue/misc/Uptime.cpp#98 i think we should be good with replacing XP_LINUX by XP_UNIX (which comes from NSPR), since NetBSD and Solaris will have a working `NowExcludingSuspendMs` with that, and still return `Nothing()` in `NowIncludingSuspendMs`. I think that'll be simpler than https://phabricator.services.mozilla.com/D101748.
i've reread the code, and since there's a failsafe handling of not having CLOCK_BOOTIME defined in https://searchfox.org/mozilla-central/source/mozglue/misc/Uptime.cpp#98 i think we should be good with replacing XP_LINUX by XP_UNIX (which comes from NSPR), since NetBSD and Solaris will have a working `NowExcludingSuspendMs` with that, and still return `Nothing()` in `NowIncludingSuspendMs`. I think that'll be simpler than https://phabricator.services.mozilla.com/D101748.

Back to Bug 1824084 Comment 14