]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Enable NT service code by default
authorNick Mathewson <nickm@torproject.org>
Sat, 19 Mar 2005 01:04:05 +0000 (01:04 +0000)
committerNick Mathewson <nickm@torproject.org>
Sat, 19 Mar 2005 01:04:05 +0000 (01:04 +0000)
svn:r3780

src/or/main.c

index 973c4fc469b86d9e99fedbaedc1ba34aae630f9a..f0919c225a44c9b0f7b2e7e20bb30724ad4d5129 100644 (file)
@@ -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")