[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Enable NT service code by default
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")