diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-16 23:56:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-16 23:56:31 +0000 |
commit | bfac679cd4209ea441211bcb5c5e210c6264e8c7 (patch) | |
tree | 541e482d67428e9c0015a4cd358ca9961f4413a8 /src/or/tor_main.c | |
parent | 362fbc79d276864c4b2b68ed9cf3bb8ba534985e (diff) | |
download | tor-bfac679cd4209ea441211bcb5c5e210c6264e8c7.tar.gz tor-bfac679cd4209ea441211bcb5c5e210c6264e8c7.zip |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/tor_main.c b/src/or/tor_main.c index f6309057c9..c4fb3139ad 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 |