use NSIS_VERSION from the new automatically genereated version.h

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-02-24 19:14:18 +00:00
parent 32a717faf5
commit 578065d849
4 changed files with 13 additions and 7 deletions

View file

@ -3,6 +3,8 @@
#include "exehead/config.h"
#include "exehead/fileform.h"
#include "version.h"
#include "build.h"
#include "util.h"
@ -84,7 +86,7 @@ CEXEBuild::CEXEBuild() :
ns_func.add("",0); // make sure offset 0 is special on these (i.e. never used by a label)
ns_label.add("",0);
definedlist.add("NSIS_VERSION", CONST_STR(NSIS_VERSION));
definedlist.add("NSIS_VERSION", NSIS_VERSION);
#define intdef2str_(x) #x
#define intdef2str(x) intdef2str_(x)