[or-cvs] Enable NT service code by default

Nick Mathewson nickm at seul.org
Sat Mar 19 01:04:08 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv5631/src/or

Modified Files:
	main.c 
Log Message:
Enable NT service code by default

Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.460
retrieving revision 1.461
diff -u -d -r1.460 -r1.461
--- main.c	17 Mar 2005 12:38:36 -0000	1.460
+++ main.c	19 Mar 2005 01:04:05 -0000	1.461
@@ -84,7 +84,10 @@
  * 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")



More information about the tor-commits mailing list