diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-07-25 23:42:43 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-07-25 23:42:43 (GMT) |
commit | e89032694f9c0da889dad1393ca22443dab74681 (patch) | |
tree | e41ddec022fdf09497b715cac78f4818058a4f5a /doc | |
parent | 3be61c5b90e24835f7cd86e07d230e99edf0ca31 (diff) | |
parent | d91a18d674dd282467a009707f2ef6c9c9f526e2 (diff) | |
download | SCons-e89032694f9c0da889dad1393ca22443dab74681.zip SCons-e89032694f9c0da889dad1393ca22443dab74681.tar.gz SCons-e89032694f9c0da889dad1393ca22443dab74681.tar.bz2 |
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 32a0b5b..c91188e 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 214569d..569ab1a 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); |