]> code.delx.au - gnu-emacs/blobdiff - src/sysselect.h
Prefer `message1' over `message'.
[gnu-emacs] / src / sysselect.h
index 328372d427c5cd7a51ecb5b155f28df0ebe2f307..0a4f7e3ad96cda918ca3a02a0d10b24cffe2c6cf 100644 (file)
@@ -1,5 +1,5 @@
 /* sysselect.h - System-dependent definitions for the select function.
-   Copyright (C) 1995, 2001-201 Free Software Foundation, Inc.
+   Copyright (C) 1995, 2001-2013 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -16,15 +16,9 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#if defined (DARWIN_OS)
-#undef init_process
-#endif
-#ifndef WINDOWSNT
+#ifndef DOS_NT
 #include <sys/select.h>
 #endif
-#if defined (DARWIN_OS)
-#define init_process emacs_init_process
-#endif
 
 /* The w32 build defines select stuff in w32.h, which is included
    where w32 needs it, but not where sysselect.h is included.  The w32
@@ -52,3 +46,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #if !defined (HAVE_SELECT)
 #define select sys_select
 #endif
+
+#ifdef MSDOS
+#define pselect sys_select
+#endif