summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Compat/stdver.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/Compat/stdver.h')
-rw-r--r--plugins/PluginUpdater/src/Compat/stdver.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Compat/stdver.h b/plugins/PluginUpdater/src/Compat/stdver.h
new file mode 100644
index 0000000000..6f40f9e4bd
--- /dev/null
+++ b/plugins/PluginUpdater/src/Compat/stdver.h
@@ -0,0 +1,9 @@
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+
+#define __STRINGIFY_IMPL(x) #x
+#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
+
+#define __VERSION_DWORD PLUGIN_MAKE_VERSION(__MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM)
+#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING)
+#define __VERSION_STRING_DOTS __STRINGIFY(__FILEVERSION_DOTS)