From: Nick Mathewson Date: Sat, 19 Mar 2005 01:04:05 +0000 (+0000) Subject: Enable NT service code by default X-Git-Tag: tor-0.1.0.1-rc~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b004eda10c7ee5b67c5d764d4fe5b2569c8ce61a;p=thirdparty%2Ftor.git Enable NT service code by default svn:r3780 --- diff --git a/src/or/main.c b/src/or/main.c index 973c4fc469..f0919c225a 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -84,7 +84,10 @@ int has_fetched_directory=0; * entry to inform the user that Tor is working. */ int has_completed_circuit=0; -/* #define MS_WINDOWS_SERVICE */ +#ifdef MS_WINDOWS +#define MS_WINDOWS_SERVICE +#endif + #ifdef MS_WINDOWS_SERVICE #include #define GENSRV_SERVICENAME TEXT("tor")