aboutsummaryrefslogtreecommitdiff
path: root/src/or/tor_main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-16 23:56:31 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-16 23:56:31 +0000
commitbfac679cd4209ea441211bcb5c5e210c6264e8c7 (patch)
tree541e482d67428e9c0015a4cd358ca9961f4413a8 /src/or/tor_main.c
parent362fbc79d276864c4b2b68ed9cf3bb8ba534985e (diff)
downloadtor-bfac679cd4209ea441211bcb5c5e210c6264e8c7.tar
tor-bfac679cd4209ea441211bcb5c5e210c6264e8c7.tar.gz
A hack I've been wanting for a while: when building a -dev version
from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976
Diffstat (limited to 'src/or/tor_main.c')
-rw-r--r--src/or/tor_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/tor_main.c b/src/or/tor_main.c
index f6309057c..c4fb3139a 100644
--- a/src/or/tor_main.c
+++ b/src/or/tor_main.c
@@ -5,6 +5,10 @@
const char tor_main_c_id[] =
"$Id$";
+const char tor_svn_revision[] =
+#include "micro-revision.i"
+ "";
+
/**
* \file tor_main.c
* \brief Stub module containing a main() function. Allows unit