[SERVER-32287] Fix Time Support building in FreeBSD Created: 12/Dec/17  Updated: 30/Oct/23  Resolved: 13/Dec/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Improvement Priority: Trivial - P5
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-12-18
Participants:

 Comments   
Comment by Githook User [ 13/Dec/17 ]

Author:

{'name': 'ADAM David Alan Martin', 'email': 'adam.martin@10gen.com', 'username': 'adamlsd'}

Message: SERVER-32287 Fix `time_support.cpp` for FreeBSD

The `clock_getres` function also exists on FreeBSD, so the check for
`_linux_` alone is insufficient.
Branch: master
https://github.com/mongodb/mongo/commit/32819bdaa0e514f0747c37520178bda189bdb469

Generated at Thu Feb 08 04:29:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.