Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51061

Rename c preprocessor macro that guards access to invariant.h header.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Security 2021-05-03, Security 2021-05-17

      The C preprocessor macro MONGO_INCLUDE_INVARIANT_H_WHITELISTED is used to identify headers that are allowed to directly include the file src/mongo/util/invariant.h. This ticket is to rename the macro to MONGO_ALLOW_INCLUDE_INVARIANT_H.

      Folding in work from similar small tickets:

      • SERVER-51062 Remove references to unconsulted preprocessor macro MONGO_PCH_WHITELISTED
      • SERVER-51063 Rename C preprocessor macro that guards access to DNS query implementations

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: