Correctly define FILEVERSION for libcouchbase.dll
Tested-by: Build Bot
#include <windows.h>
-#define LCB_HEXVER @LCB_VERSION_HEX@
-#define LCB_MAJOR LCB_HEXVER & 0xFF0000
-#define LCB_MINOR LCB_HEXVER & 0x00FF00
-#define LCB_PATCH LCB_HEXVER & 0x0000FF
+#define LCB_MAJOR @LCB_VERSION_MAJOR@
+#define LCB_MINOR @LCB_VERSION_MINOR@
+#define LCB_PATCH @LCB_VERSION_PATCH@
#define VER_FILEVERSION LCB_MAJOR,LCB_MINOR,LCB_PATCH,0
#define VER_PRODUCT VER_FILEVERSION
-#define VER_FILEVERSION_STR "@LCB_VERSION@\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
