BSON_HAVE_RAND_R is not defined for Autotools

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.9.0
    • Component/s: libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: