This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cygwin: add LFS_CFLAGS etc. to confstr/getconf


On Jan 16 09:03, Yaakov Selkowitz wrote:
> On 2018-01-16 03:27, Corinna Vinschen wrote:
> > On Jan 15 21:19, Yaakov Selkowitz wrote:
> >> These are used, for instance, when cross-compiling the Linux kernel.
> >>
> >> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
> >> ---
> >>  newlib/libc/include/sys/unistd.h | 4 ++++
> >>  winsup/cygwin/sysconf.cc         | 6 +++++-
> >>  winsup/utils/getconf.c           | 4 ++++
> >>  3 files changed, 13 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
> >> index f216fb95c..5386bd49d 100644
> >> --- a/newlib/libc/include/sys/unistd.h
> >> +++ b/newlib/libc/include/sys/unistd.h
> >> @@ -582,6 +582,10 @@ int	unlinkat (int, const char *, int);
> >>  #define _CS_POSIX_V7_THREADS_LDFLAGS          19
> >>  #define _CS_V7_ENV                            20
> >>  #define _CS_V6_ENV                            _CS_V7_ENV
> >> +#define _CS_LFS_CFLAGS                        21
> >> +#define _CS_LFS_LDFLAGS                       22
> >> +#define _CS_LFS_LIBS                          23
> >> +#define _CS_LFS_LINTFLAGS                     24
> > 
> > Basically ok, but while at it, wouldn't it make sense to add the LFS64
> > macros too?
> 
> No, because we do not provide off64_t or the *64 function declarations.

Ok.  ACK


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]