aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/version/version.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-29 16:16:48 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-30 08:47:21 -0600
commitb70b012bc692477fdf51b09627c6a7333265ee31 (patch)
tree18badadf8bdf1b77b93932b947a352e5591ddf2b /version/version.h
parentversion: use ProductName and ProductVersion as strings (diff)
downloadwireguard-windows-b70b012bc692477fdf51b09627c6a7333265ee31.tar.xz
wireguard-windows-b70b012bc692477fdf51b09627c6a7333265ee31.zip
version: hard code name and version at compile time
We really do want the true name and version in logs so that external consumers have a good reference point for helping us debug. We can then do the log file directory explicitly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'version/version.h')
-rw-r--r--version/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/version/version.h b/version/version.h
new file mode 100644
index 00000000..61ce5495
--- /dev/null
+++ b/version/version.h
@@ -0,0 +1,2 @@
+#define WIREGUARD_WINDOWS_VERSION_ARRAY 0,0,23
+#define WIREGUARD_WINDOWS_VERSION_STRING "0.0.23"