Undefined BSON_HAS_RAND_R in libbson

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.9.0
    • Affects Version/s: 1.9.0
    • Component/s: libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Jeroen Ooms [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: