X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fgnulib-tool.texi;h=db3e223dab18163d1415880639fb5ff838824343;hb=b0d9d3aa695aebab5ebc0fb02ebeac9e59f57242;hp=d5db08e5cd5cebc82ec7f3a1ffb7af6d59e7245d;hpb=ae6e2b186fb8ba83f2ab29511fcc21b7004af51b;p=gnulib.git diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi index d5db08e5c..db3e223da 100644 --- a/doc/gnulib-tool.texi +++ b/doc/gnulib-tool.texi @@ -232,12 +232,12 @@ use of @code{strdup}. In the usual case where Autoconf is creating a @file{config.h} file, you should include @file{config.h} first, before any other include file. That way, for example, if @file{config.h} defines -@samp{restrict} to be the empty string on a pre-C99 host, the -definition is consistent for all include files. - -You should include Gnulib-provided headers before system headers, -so that Gnulib-provided headers can adjust how a system header -behaves. +@samp{restrict} to be the empty string on a pre-C99 host, or a macro +like @samp{_FILE_OFFSET_BITS} that affects the layout of data +structures, the definition is consistent for all include files. +Also, on some platforms macros like @samp{_FILE_OFFSET_BITS} and +@samp{_GNU_SOURCE} may be ineffective, or may have only a limited +effect, if defined after the first system header file is included. A final word of warning: Gnulib currently assumes it will be responsible for @emph{all} functions that end up in the Autoconf