* tests/nap.h (nap_get_stat): Treat Cygwin like native Windows.
+2018-09-18 Bruno Haible <bruno@clisp.org>
+
+ stat-time tests: Fix test failure on Cygwin.
+ * tests/nap.h (nap_get_stat): Treat Cygwin like native Windows.
+
2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
doc: OS X 10.11 lacked ns time functions
if (do_write)
{
ASSERT (write (nap_fd, "\n", 1) == 1);
-#if defined _WIN32 && ! defined __CYGWIN__
- /* On native Windows, the modification times are not changed until NAP_FD
+#if defined _WIN32 || defined __CYGWIN__
+ /* On Windows, the modification times are not changed until NAP_FD
is closed. See
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365747(v=vs.85).aspx */
close (nap_fd);