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

On Windows, windows_basic.h should error if we don't have both NTDDI_VERSION and _WIN32_WINNT

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.1
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      If you define one of these, you must define both. Our headers currently assume you are following this rule, but we can easily detect violations and error out.

      http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: