diff options
author | Greg Noel <GregNoel@tigris.org> | 2008-09-16 02:31:02 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2008-09-16 02:31:02 (GMT) |
commit | 2f9422bcda43ef2f2abb20ad543008908268fa1b (patch) | |
tree | 270bc4813b254874978401e685f88a6c345e60bb /doc | |
parent | ac49cdcc603ce5cdd9b7469681e0187ea34c68a7 (diff) | |
download | SCons-2f9422bcda43ef2f2abb20ad543008908268fa1b.zip SCons-2f9422bcda43ef2f2abb20ad543008908268fa1b.tar.gz SCons-2f9422bcda43ef2f2abb20ad543008908268fa1b.tar.bz2 |
Fix error reported on IRC
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/sconf.in | 2 | ||||
-rw-r--r-- | doc/user/sconf.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/sconf.in b/doc/user/sconf.in index 381a174..0ef1d85 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() </sconstruct> diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml index d683bb8..d89470d 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() </programlisting> |