moved NSISCALL detection to scons

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5814 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-12-09 22:42:12 +00:00
parent 61530710bc
commit f6e4fefbf5
5 changed files with 22 additions and 21 deletions

View file

@ -31,6 +31,11 @@ defenv['ALIGN_FLAG'] = '-Wl,--file-alignment,512'
defenv['CPP_REQUIRES_STDLIB'] = 1
defenv['SUBSYS_CON'] = '-Wl,--subsystem,console'
defenv['MSVCRT_FLAG'] = ''
defenv['STDCALL'] = '__attribute__((__stdcall__))'
### defines
defenv.Append(CPPDEFINES = {'NSISCALL' : '$STDCALL'})
### helper functions