bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make getopt.c build in visual studio


From: Eric Blake
Subject: Re: make getopt.c build in visual studio
Date: Sat, 04 Mar 2006 21:59:31 +0000

> With this, getopt actually do seem to compile and work in Visual
> Studio.  Tested with the CLI in libtasn1, part of GnuTLS, with long
> options.
> 
> I'll install this shortly unless someone protests.

I'm not sure about this.  Lately, the move has been to assume that
<unistd.h> exists, and this is a step backwards.  What if, instead,
you provided a unistd_.h that got installed on platforms that are
lacking (so far, only MSVS comes to mind), then make modules
that unconditionally use <unistd.h> depend on a new unistd
module?

-- 
Eric Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]