[tor-commits] [tor/master] Remove a pair of windows flags used nowhere in our code

nickm at torproject.org nickm at torproject.org
Thu Jun 28 19:21:00 UTC 2018


commit 8736892679eabeecfa87f9bf19ac22245dc711c0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jun 28 13:02:33 2018 -0400

    Remove a pair of windows flags used nowhere in our code
---
 src/common/compat.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/common/compat.h b/src/common/compat.h
index ca18970cb..43e98d906 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -105,21 +105,6 @@ MOCK_DECL(int, get_total_system_memory, (size_t *mem_out));
 #define MIN(a,b) ( ((a)>(b)) ? (b) : (a) )
 #endif
 
-/*for some reason my compiler doesn't have these version flags defined
-  a nice homework assignment for someone one day is to define the rest*/
-//these are the values as given on MSDN
-#ifdef _WIN32
-
-#ifndef VER_SUITE_EMBEDDEDNT
-#define VER_SUITE_EMBEDDEDNT 0x00000040
-#endif
-
-#ifndef VER_SUITE_SINGLEUSERTS
-#define VER_SUITE_SINGLEUSERTS 0x00000100
-#endif
-
-#endif /* defined(_WIN32) */
-
 ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);
 
 /* This needs some of the declarations above so we include it here. */





More information about the tor-commits mailing list