Re: make getopt.c build in visual studio

2006-03-10 Thread Simon Josefsson
Paul Eggert <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >> +#ifdef HAVE_UNISTD_H >> #include >> +#endif > > Thanks and please install, except please use '# include' instead of > '#include', for consistent indentation. Yes, diff was using -w so it wasn't visible i

Re: make getopt.c build in visual studio

2006-03-10 Thread Eric Blake
> 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 exists, and this is a step

Re: make getopt.c build in visual studio

2006-03-07 Thread Martin Lambers
On Tue, 07. Mar 2006, 14:30:52 +0100, Simon Josefsson wrote: > diff -N modules/unistd > --- /dev/null 1 Jan 1970 00:00:00 - > +++ modules/unistd7 Mar 2006 13:30:18 - > @@ -0,0 +1,31 @@ > +Description: > +A for systems lacking it. > + > +Files: > +lib/unistd_.h > +m4/unistd_h.m4 > + > +

Re: make getopt.c build in visual studio

2006-03-07 Thread Simon Josefsson
I forgot this diff in the last e-mail: Index: m4/unistd_h.m4 === RCS file: m4/unistd_h.m4 diff -N m4/unistd_h.m4 --- /dev/null 1 Jan 1970 00:00:00 - +++ m4/unistd_h.m4 7 Mar 2006 13:32:57 - @@ -0,0 +1,18 @@ +# unistd_h.

Re: make getopt.c build in visual studio

2006-03-07 Thread Simon Josefsson
[EMAIL PROTECTED] (Eric Blake) writes: >> 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

Re: make getopt.c build in visual studio

2006-03-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Simon Josefsson on 3/7/2006 6:30 AM: > Index: modules/unistd ... > + > +# We need the following in order to create when the system > +# doesn't have one. s/byteswap/unistd/ Other than that, thanks! - -- Life is short - so eat dessert f

Re: make getopt.c build in visual studio

2006-03-07 Thread Simon Josefsson
Eric Blake <[EMAIL PROTECTED]> writes: > According to Simon Josefsson on 3/7/2006 6:30 AM: >> Index: modules/unistd > ... >> + >> +# We need the following in order to create when the system >> +# doesn't have one. > > s/byteswap/unistd/ > > Other than that, thanks! Installed, thanks for the revi

Re: make getopt.c build in visual studio

2006-03-05 Thread Jim Meyering
Simon Josefsson <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

Re: make getopt.c build in visual studio

2006-03-04 Thread Paul Eggert
Simon Josefsson <[EMAIL PROTECTED]> writes: > +#ifdef HAVE_UNISTD_H > #include > +#endif Thanks and please install, except please use '# include' instead of '#include', for consistent indentation. ___ bug-gnulib mailing list bug-gnulib@gnu.org http: