Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2423

Undefined BSON_HAS_RAND_R in libbson

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: 1.9.0
    • Component/s: libbson
    • None

      I noticed that bson-context.c has

      {#ifndef BSON_HAS_RAND_R}

      however this macro is never defined so it is always true, making the subsequent

      {#elif}

      and

      {#else}

      redundant?

            Assignee:
            Unassigned Unassigned
            Reporter:
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: