Move windows header macros into orconfig.h

This should prevent duplicated code, and lower the likelihood of
accidentally making them inconsistent.
This commit is contained in:
Nick Mathewson 2015-06-29 12:47:55 -04:00
parent cc3a791d55
commit 66c73abe03

7
changes/win-macros Normal file
View File

@ -0,0 +1,7 @@
o Code simplification and refactoring:
- Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
to ensure they remain consistent and visible everywhere.
- Remove vestigial workarounds for some ancient versions of the MSVC
compiler.