summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-02 12:02:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-02 12:02:35 +0000
commit335633e70a21f0042c07536cbb905e46962b41de (patch)
tree8d189fd9159680e2e1f4d6400511e00c09a61200 /plugins
parenta70586dacbd1ff6a9e406f0fde154c82ad99546b (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8357 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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)