summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-19 01:04:05 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-19 01:04:05 +0000
commitb004eda10c7ee5b67c5d764d4fe5b2569c8ce61a (patch)
tree2ca1813f7f0b4514c40d1cc4089c6d4f90c9cbd5
parent19b4dbc6d2a112c3d99f272e9b77839d34d0359a (diff)
downloadtor-b004eda10c7ee5b67c5d764d4fe5b2569c8ce61a.tar.gz
tor-b004eda10c7ee5b67c5d764d4fe5b2569c8ce61a.zip
Enable NT service code by default
svn:r3780
-rw-r--r--src/or/main.c5
1 files changed, 4 insertions, 1 deletions
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 <tchar.h>
#define GENSRV_SERVICENAME TEXT("tor")