From cd4e43a5af4dcf660969bc5abada0d97cfd0cd03 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Jan 2014 15:57:14 +0000 Subject: version related code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/main.cpp | 2 +- protocols/IRCG/src/version.h | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp index 77024b358c..dff017fdee 100644 --- a/protocols/IRCG/src/main.cpp +++ b/protocols/IRCG/src/main.cpp @@ -48,7 +48,7 @@ PLUGININFOEX pluginInfo = { sizeof( PLUGININFOEX ), __PLUGIN_NAME, - __VERSION_DWORD, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), __DESC, __AUTHOR, __AUTHOREMAIL, diff --git a/protocols/IRCG/src/version.h b/protocols/IRCG/src/version.h index 6bc9f439de..5ab18e5aa4 100644 --- a/protocols/IRCG/src/version.h +++ b/protocols/IRCG/src/version.h @@ -1,6 +1,11 @@ -#define __FILEVERSION_STRING 0,11,0,2 -#define __VERSION_STRING "0.11.0.2" -#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 2) +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 11 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 2 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __TOSTRING(x) #x +#define __VERSION_STRING __TOSTRING(__FILEVERSION_STRING) #define __DESC "Internet Relay Chat (IRC) protocol support for Miranda NG." #define __AUTHOR "Miranda team" -- cgit v1.2.3