* src/w32notify.c (Fw32notify_add_watch): Fix version check.

This commit is contained in:
Juanma Barranquero 2015-10-25 00:00:26 +02:00
parent 9d6ec23f7d
commit 478d9d9db3

View file

@ -525,7 +525,7 @@ generate notifications correctly, though. */)
/* The underlying features are available only since XP. */
if (os_subtype == OS_9X
|| (w32_major_version == 5 && w32_major_version < 1))
|| (w32_major_version == 5 && w32_minor_version < 1))
{
errno = ENOSYS;
report_file_notify_error ("Watching filesystem events is not supported",