summaryrefslogtreecommitdiff
path: root/include/msapi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-25 08:54:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-25 08:54:18 +0000
commit7487284ac14c755d0cf34b510f75c5a3dead96e6 (patch)
tree2b62c632a4053cd970986683443b82efbb5695b1 /include/msapi
parent4411465ba5e0da52d7efb319e8580029bde11d21 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7879 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/msapi')
-rw-r--r--include/msapi/stdver.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/msapi/stdver.h b/include/msapi/stdver.h
new file mode 100644
index 0000000000..6f40f9e4bd
--- /dev/null
+++ b/include/msapi/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)