diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 10:16:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:24:25 -0400 |
commit | 630d8c7a1acda53b640b018039f7ec586e048ad7 (patch) | |
tree | 522c1852ca8bb9a4591a0af31523c13415a76e6b /src/lib/version/git_revision.c | |
parent | a2bb66c3558be224f3537296ee0ebec179164f57 (diff) | |
download | tor-630d8c7a1acda53b640b018039f7ec586e048ad7.tar.gz tor-630d8c7a1acda53b640b018039f7ec586e048ad7.zip |
With coccinelle, avoid includes in the middle of an expression.
Diffstat (limited to 'src/lib/version/git_revision.c')
-rw-r--r-- | src/lib/version/git_revision.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/version/git_revision.c b/src/lib/version/git_revision.c index 900a1e12a0..338ba2bc3d 100644 --- a/src/lib/version/git_revision.c +++ b/src/lib/version/git_revision.c @@ -11,14 +11,18 @@ * src/core/include.am, and is usually right. */ const char tor_git_revision[] = +#ifndef COCCI #ifndef _MSC_VER #include "micro-revision.i" #endif +#endif ""; const char tor_bug_suffix[] = " (on Tor " VERSION +#ifndef COCCI #ifndef _MSC_VER " " #include "micro-revision.i" #endif +#endif ")"; |