summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/msapi/stdver.h9
-rw-r--r--include/stdver.h1
2 files changed, 10 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)
diff --git a/include/stdver.h b/include/stdver.h
new file mode 100644
index 0000000000..0dd6c8013b
--- /dev/null
+++ b/include/stdver.h
@@ -0,0 +1 @@
+#include <msapi\stdver.h>