bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] nanosleep module and mingw32


From: Martin Lambers
Subject: Re: [bug-gnulib] nanosleep module and mingw32
Date: Fri, 19 May 2006 08:40:40 +0200
User-agent: Mutt/1.5.6i

On Thu, May 18, 2006 at 10:23:49PM +0200, Bruno Haible wrote:
> > +#ifdef _WIN32
> 
> The conditional for Woe32 platforms, excluding Cygwin (which has normal Unix 
> API),
> is
>    #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__

Sorry, I somehow missed your mail about Cygwin defining _WIN32 nowadays.
I thought that 
http://article.gmane.org/gmane.comp.lib.gnulib.bugs/4203/match=mingw+msvc+win32+mingw32
was still up to date.

> Also, it's stylistically preferrable to put platform dependent include files
> after the last platform-independent include file, not before.

Thanks, I'll try to remember that.

For the nanosleep module, however, I like Simon's idea to use the unistd
module instead.

Martin




reply via email to

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