From 9f93fcfa184d64b06493fac5771925739891f465 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 21 Jan 2006 15:59:33 +0000 Subject: [PATCH] oops, quoting problems, back to config.h git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4496 212acab6-be3b-0410-9dea-997c60f758d6 --- SCons/config.py | 9 --------- Source/exehead/config.h | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/SCons/config.py b/SCons/config.py index 847e34cb..42c60e6d 100644 --- a/SCons/config.py +++ b/SCons/config.py @@ -28,14 +28,6 @@ cfg.Add( ) ) -cfg.Add( - ( - 'NSIS_VARS_SECTION', - 'defines the name of the PE section containing the runtime variables', - '.ndata' - ) -) - cfg.Add( BoolOption( 'NSIS_CONFIG_UNINSTALL_SUPPORT', @@ -434,7 +426,6 @@ def AddBoolDefine(define): AddValuedDefine('NSIS_MAX_STRLEN') AddValuedDefine('NSIS_MAX_INST_TYPES') AddValuedDefine('NSIS_DEFAULT_LANG') -AddValuedDefine('NSIS_VARS_SECTION') AddBoolDefine('NSIS_CONFIG_UNINSTALL_SUPPORT') AddBoolDefine('NSIS_CONFIG_LICENSEPAGE') diff --git a/Source/exehead/config.h b/Source/exehead/config.h index e0282f51..ca19974a 100644 --- a/Source/exehead/config.h +++ b/Source/exehead/config.h @@ -128,6 +128,11 @@ typedef char NSIS_STRING[NSIS_MAX_STRLEN]; +// I'd love to move this one to config.py, but it must have quotes for #pragma +// and at the same time can't have quotes because the shell will kill it... + +#define NSIS_VARS_SECTION ".ndata" + #endif//!APSTUDIO_INVOKED #endif // NSIS_CONFIG_H