Enable NT service code by default

svn:r3780
This commit is contained in:
Nick Mathewson 2005-03-19 01:04:05 +00:00
parent 19b4dbc6d2
commit b004eda10c

View File

@ -84,7 +84,10 @@ int has_fetched_directory=0;
* entry to inform the user that Tor is working. */ * entry to inform the user that Tor is working. */
int has_completed_circuit=0; int has_completed_circuit=0;
/* #define MS_WINDOWS_SERVICE */ #ifdef MS_WINDOWS
#define MS_WINDOWS_SERVICE
#endif
#ifdef MS_WINDOWS_SERVICE #ifdef MS_WINDOWS_SERVICE
#include <tchar.h> #include <tchar.h>
#define GENSRV_SERVICENAME TEXT("tor") #define GENSRV_SERVICENAME TEXT("tor")