[CDRIVER-2440] BSON_HAVE_RAND_R is not defined for Autotools Created: 21/Dec/17  Updated: 27/Oct/23  Resolved: 21/Dec/17

Status: Closed
Project: C Driver
Component/s: libbson
Affects Version/s: 1.9.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2407 Android NDK support Closed

 Description   

When mongodb/libbson#208 defined a new BSON_HAVE_RAND_R constant for CDRIVER-2407, it only added the necessary check to define this constant in CMake. The check is never performed for Autotools.

I didn't catch this on Linux builds, as the compiler seems to allow @BSON_HAVE_RAND_R@, but Windows raised an error when compiling with VC11.



 Comments   
Comment by Jeremy Mikola [ 21/Dec/17 ]

Disregard this. I see that Autotools was updated in that PR.

Generated at Wed Feb 07 21:15:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.