[SERVER-31272] Missing sys/resource.h on !linux Created: 26/Sep/17 Updated: 30/Oct/23 Resolved: 27/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Aldridge | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-10-02 |
| Participants: |
| Description |
|
Starting in afb51939, builds began failing on OpenBSD (and presumably other Unix-like platforms). This is due to src/mongo/transport/service_entry_point_utils.cpp. Changing #ifdef __linux__ to #ifndef _WIN32 as suggested in the comment fixes the build. |
| Comments |
| Comment by Githook User [ 27/Sep/17 ] |
|
Author: {'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}Message: Closes #1177 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com> |