From 4112d19049e27162c333bac13d908f48a4cc438a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Aug 2015 11:53:14 +0200 Subject: Imported Upstream version 2.3.6 --- doc/user/repositories.xml | 2 +- doc/user/sconf.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/user') diff --git a/doc/user/repositories.xml b/doc/user/repositories.xml index d828773..d8820d6 100644 --- a/doc/user/repositories.xml +++ b/doc/user/repositories.xml @@ -423,7 +423,7 @@ int main() { printf("Hello, world!\n"); } Change all occurrences of #include "file.h" - to #include &lt;file.h&gt;. + to #include <file.h>. Use of #include with angle brackets does not have the same behavior--the -I directories are searched first diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml index 365aa22..9096aad 100644 --- a/doc/user/sconf.xml +++ b/doc/user/sconf.xml @@ -275,7 +275,7 @@ env = conf.Finish() 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. 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}) mylib_test_source_file = """ -#include &lt;mylib.h&gt; +#include <mylib.h> int main(int argc, char **argv) { MyLibrary mylib(argc, argv); -- cgit v1.2.3