diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-07-25 19:42:43 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-07-25 19:42:43 -0400 |
commit | 4f5b42d96f14b4dd75a6e6360206ce842771460d (patch) | |
tree | e41ddec022fdf09497b715cac78f4818058a4f5a /doc | |
parent | ec6bf33b8516d981e44bc7f80cad358c3860f410 (diff) | |
parent | 1f910922eb7c8f34a2884589d2d624fc5b1909ad (diff) | |
download | scons-4f5b42d96f14b4dd75a6e6360206ce842771460d.tar.gz |
merge pull request 236: ajf58: Corrected escaping of less-than and greater-than symbols.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/repositories.xml | 2 | ||||
-rw-r--r-- | doc/user/sconf.xml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/repositories.xml b/doc/user/repositories.xml index 32a0b5b3..c91188e4 100644 --- a/doc/user/repositories.xml +++ b/doc/user/repositories.xml @@ -423,7 +423,7 @@ int main() { printf("Hello, world!\n"); } <para> Change all occurrences of <literal>#include "file.h"</literal> - to <literal>#include &lt;file.h&gt;</literal>. + to <literal>#include <file.h></literal>. Use of <literal>#include</literal> with angle brackets does not have the same behavior--the <literal>-I</literal> directories are searched first diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml index 214569db..569ab1a7 100644 --- a/doc/user/sconf.xml +++ b/doc/user/sconf.xml @@ -275,7 +275,7 @@ env = conf.Finish() <sconstruct> env = Environment() conf = Configure(env) -if not conf.CheckType('off_t', '#include &lt;sys/types.h&gt;\n'): +if not conf.CheckType('off_t', '#include <sys/types.h>\n'): print 'Did not find off_t typedef, assuming int' conf.env.Append(CCFLAGS = '-Doff_t=int') env = conf.Finish() @@ -324,7 +324,7 @@ scons: `.' is up to date. <sconstruct> mylib_test_source_file = """ -#include &lt;mylib.h&gt; +#include <mylib.h> int main(int argc, char **argv) { MyLibrary mylib(argc, argv); @@ -401,7 +401,7 @@ conf = Configure(env, custom_tests = {'CheckMyLibrary' : CheckMyLibrary}) <sconstruct> mylib_test_source_file = """ -#include &lt;mylib.h&gt; +#include <mylib.h> int main(int argc, char **argv) { MyLibrary mylib(argc, argv); |