[SERVER-13978] On Windows, windows_basic.h should error if we don't have both NTDDI_VERSION and _WIN32_WINNT Created: 24/Apr/14  Updated: 27/May/14  Resolved: 20/May/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.1

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:

 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



 Comments   
Comment by Ramon Fernandez Marina [ 20/May/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-13978 Error out if NTDDI_VERSION is set but _WIN32_WINNT is not

Branch: master
https://github.com/mongodb/mongo/commit/2bff086f3290a662736330a0c03c988a70411ebc

Generated at Thu Feb 08 03:33:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.