[tor-commits] [tor/master] Move windows header macros into orconfig.h

nickm at torproject.org nickm at torproject.org
Mon Jun 29 16:55:09 UTC 2015


commit 66c73abe039611073d6086e617999d56ac8e73bd
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jun 29 12:47:55 2015 -0400

    Move windows header macros into orconfig.h
    
    This should prevent duplicated code, and lower the likelihood of
    accidentally making them inconsistent.
---
 changes/win-macros |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/changes/win-macros b/changes/win-macros
new file mode 100644
index 0000000..a3519c3
--- /dev/null
+++ b/changes/win-macros
@@ -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.
+





More information about the tor-commits mailing list