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: Jim Meyering
Subject: Re: make getopt.c build in visual studio
Date: Sun, 05 Mar 2006 11:54:39 +0100

Simon Josefsson <address@hidden> wrote:
> 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.
>
> 2006-02-28  Simon Josefsson  <address@hidden>
>
>       * getopt.c: Protect #include of unistd.h, for MSVS.

Hi Simon,

I agree with Eric.  These days, we should include unistd.h
unconditionally -- and we _can_, in nearly every other environment.
It should be easy to create an empty lib/unistd.h, if necessary.




reply via email to

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