diff options
Diffstat (limited to 'src/sysselect.h')
| -rw-r--r-- | src/sysselect.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/sysselect.h b/src/sysselect.h index 20eade8d07a..24bdf469ced 100644 --- a/src/sysselect.h +++ b/src/sysselect.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* sysselect.h - System-dependent definitions for the select function. | 1 | /* sysselect.h - System-dependent definitions for the select function. |
| 2 | Copyright (C) 1995, 2001-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 1995, 2001-2012 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -16,14 +16,8 @@ GNU General Public License for more details. | |||
| 16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 17 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 17 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 18 | 18 | ||
| 19 | #ifdef HAVE_SYS_SELECT_H | 19 | #ifndef DOS_NT |
| 20 | #if defined (DARWIN_OS) | ||
| 21 | #undef init_process | ||
| 22 | #endif | ||
| 23 | #include <sys/select.h> | 20 | #include <sys/select.h> |
| 24 | #if defined (DARWIN_OS) | ||
| 25 | #define init_process emacs_init_process | ||
| 26 | #endif | ||
| 27 | #endif | 21 | #endif |
| 28 | 22 | ||
| 29 | /* The w32 build defines select stuff in w32.h, which is included | 23 | /* The w32 build defines select stuff in w32.h, which is included |
| @@ -53,3 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 53 | #define select sys_select | 47 | #define select sys_select |
| 54 | #endif | 48 | #endif |
| 55 | 49 | ||
| 50 | #ifdef MSDOS | ||
| 51 | #define pselect sys_select | ||
| 52 | #endif | ||