tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 8736892679eabeecfa87f9bf19ac22245dc711c0
parent 57f4b8385232a15a6713eacc9eb197e1b2f2067d
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 28 Jun 2018 13:02:33 -0400

Remove a pair of windows flags used nowhere in our code

Diffstat:
Msrc/common/compat.h | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git 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. */