summaryrefslogtreecommitdiffhomepage
path: root/src/version.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-01-08 17:48:35 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2020-01-11 10:49:18 -0500
commit1aa1f0ab927e8e2e83fcbcdbcf8a1f5ae31ac153 (patch)
tree0bbb3ab6f77d4c1152fbaae66e0bc23128a28363 /src/version.h
parent28690ca621268763c9ecb8ef154eb3739a9317e3 (diff)
Makefile: strip prefixed v from version.h
We also no longer do anything dynamic with dkms.conf, and we don't rewrite any files at all, but rather pass this through as a cflag to the compiler optionally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Egbert Verhage <egbert@eggiecode.org>
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.h b/src/version.h
index 07d1c2d..e42c50d 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1 +1,3 @@
+#ifndef WIREGUARD_VERSION
#define WIREGUARD_VERSION "0.0.20200105"
+#endif