From: GregNoel Date: Tue, 16 Sep 2008 02:31:02 +0000 (+0000) Subject: Fix error reported on IRC X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=765db2fc892cebf913b40357c625f01d27284a1e;p=scons.git Fix error reported on IRC git-svn-id: http://scons.tigris.org/svn/scons/trunk@3431 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/user/sconf.in b/doc/user/sconf.in index 381a174b..0ef1d851 100644 --- a/doc/user/sconf.in +++ b/doc/user/sconf.in @@ -163,7 +163,7 @@ conf = Configure(env) if not conf.CheckFunc('strcpy'): print 'Did not find strcpy(), using local version' - conf.env.Append('-Dstrcpy=my_local_strcpy') + conf.env.Append(CPPDEFINES = '-Dstrcpy=my_local_strcpy') env = conf.Finish() diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml index d683bb8b..d89470db 100644 --- a/doc/user/sconf.xml +++ b/doc/user/sconf.xml @@ -163,7 +163,7 @@ conf = Configure(env) if not conf.CheckFunc('strcpy'): print 'Did not find strcpy(), using local version' - conf.env.Append('-Dstrcpy=my_local_strcpy') + conf.env.Append(CPPDEFINES = '-Dstrcpy=my_local_strcpy') env = conf.Finish()