summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange')
-rw-r--r--plugins/Exchange/res/version.rc4
-rw-r--r--plugins/Exchange/src/exchange.cpp2
-rw-r--r--plugins/Exchange/src/version.h8
3 files changed, 4 insertions, 10 deletions
diff --git a/plugins/Exchange/res/version.rc b/plugins/Exchange/res/version.rc
index 5b6f331f5a..6255c58f3e 100644
--- a/plugins/Exchange/res/version.rc
+++ b/plugins/Exchange/res/version.rc
@@ -55,8 +55,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION __PLUGINVERSION_STRING
- PRODUCTVERSION __PLUGINVERSION_STRING
+ FILEVERSION __FILEVERSION_STRING
+ PRODUCTVERSION __FILEVERSION_STRING
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
diff --git a/plugins/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp
index ef36caeb6d..94b199adcf 100644
--- a/plugins/Exchange/src/exchange.cpp
+++ b/plugins/Exchange/src/exchange.cpp
@@ -33,7 +33,7 @@ CExchangeServer &exchangeServer = CExchangeServer();
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_DISPLAY_NAME,
- VERSION,
+ __VERSION_DWORD,
__DESC,
__AUTHOR,
__AUTHOREMAIL,
diff --git a/plugins/Exchange/src/version.h b/plugins/Exchange/src/version.h
index feb902fc39..86e8ba25d8 100644
--- a/plugins/Exchange/src/version.h
+++ b/plugins/Exchange/src/version.h
@@ -26,13 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define __RELEASE_NUM 3
#define __BUILD_NUM 4
-#define VERSION PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM)
-
-#define __PLUGINVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __PLUGINVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
-#define __STRINGIFY_(x) #x
-#define __STRINGIFY(x) __STRINGIFY_(x)
-#define __VERSION_STRING __STRINGIFY(__PLUGINVERSION_STRING_DOTS)
+#include <stdver.h>
#define __DESC "Notifies you if you have unread email on an exchange server."
#define __AUTHOR "Cristian Libotean, Attila Vajda, MaKaR (NG)"