From: Eli Zaretskii Date: Tue, 3 Jun 2014 21:00:40 +0000 (+0300) Subject: Fix the MS-Windows build broken by few last commits. X-Git-Tag: emacs-25.0.90~2639^2~129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71b2605c959c8ccc6eb54ae147f98105dce369cb;p=emacs.git Fix the MS-Windows build broken by few last commits. src/sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET) (FD_SET): Don't define on WINDOWSNT. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3d7f906ee29..5707c6e56f5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-06-03 Eli Zaretskii + + * sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET) + (FD_SET): Don't define on WINDOWSNT. + 2014-06-03 Paul Eggert * emacs.c: Include "sysselect.h", to define its inline functions. diff --git a/src/sysselect.h b/src/sysselect.h index 9ecc96e310c..db6438ed1f8 100644 --- a/src/sysselect.h +++ b/src/sysselect.h @@ -51,6 +51,7 @@ typedef int fd_set; #define pselect sys_select #endif +#ifndef WINDOWSNT INLINE_HEADER_BEGIN /* Check for out-of-range errors if ENABLE_CHECKING is defined. */ @@ -85,4 +86,6 @@ fd_SET (int fd, fd_set *set) INLINE_HEADER_END +#endif /* !WINDOWSNT */ + #endif