aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32notify.c
diff options
context:
space:
mode:
authorJuanma Barranquero2015-10-25 00:00:26 +0200
committerJuanma Barranquero2015-10-25 00:00:26 +0200
commit478d9d9db39af654abdfeb793f2d9c2ecb71daf1 (patch)
treed84d2df95c7ea3fa5f41f8c72bada6b44c7a8b6d /src/w32notify.c
parent9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342 (diff)
downloademacs-478d9d9db39af654abdfeb793f2d9c2ecb71daf1.tar.gz
emacs-478d9d9db39af654abdfeb793f2d9c2ecb71daf1.zip
* src/w32notify.c (Fw32notify_add_watch): Fix version check.
Diffstat (limited to 'src/w32notify.c')
-rw-r--r--src/w32notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32notify.c b/src/w32notify.c
index e822d950263..de27ab89b51 100644
--- a/src/w32notify.c
+++ b/src/w32notify.c
@@ -525,7 +525,7 @@ generate notifications correctly, though. */)
525 525
526 /* The underlying features are available only since XP. */ 526 /* The underlying features are available only since XP. */
527 if (os_subtype == OS_9X 527 if (os_subtype == OS_9X
528 || (w32_major_version == 5 && w32_major_version < 1)) 528 || (w32_major_version == 5 && w32_minor_version < 1))
529 { 529 {
530 errno = ENOSYS; 530 errno = ENOSYS;
531 report_file_notify_error ("Watching filesystem events is not supported", 531 report_file_notify_error ("Watching filesystem events is not supported",