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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible

      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

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

              Created:
              Updated:
              Resolved: