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