Browse Source

Enable NT service code by default

svn:r3780
Nick Mathewson 20 years ago
parent
commit
b004eda10c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/or/main.c

+ 4 - 1
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 <tchar.h>
 #define GENSRV_SERVICENAME  TEXT("tor")