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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.1
    • Internal Code
    • 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

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: