diff options
| author | Bill Wohler | 2012-11-24 19:43:02 -0800 |
|---|---|---|
| committer | Bill Wohler | 2012-11-24 19:43:02 -0800 |
| commit | 5244bc019bf7376caff3bb198ff674e0ad9fb0e6 (patch) | |
| tree | 02ee1615e904771f692ec2957c79a08ae029a13d /src/sysselect.h | |
| parent | 9f7e719509474e92f85955e22e57ffeebd4e96f3 (diff) | |
| parent | c07a6ded1df2f4156badc9add2953579622c3722 (diff) | |
| download | emacs-5244bc019bf7376caff3bb198ff674e0ad9fb0e6.tar.gz emacs-5244bc019bf7376caff3bb198ff674e0ad9fb0e6.zip | |
Merge from trunk.
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 | ||