made NSIS_VERSION a define set by the scons script

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-05-12 16:27:35 +00:00
parent 0b5ea752a9
commit f85a88852c
7 changed files with 16 additions and 14 deletions

View file

@ -84,8 +84,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);
extern const char *NSIS_VERSION;
definedlist.add("NSIS_VERSION", NSIS_VERSION);
definedlist.add("NSIS_VERSION", CONST_STR(NSIS_VERSION));
#define intdef2str_(x) #x
#define intdef2str(x) intdef2str_(x)