summaryrefslogtreecommitdiff
path: root/src/sysselect.h
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-05-06 08:04:29 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-05-06 08:04:29 +0000
commit75440ed457807eb0497856d2f3fd857eb4b16664 (patch)
treeda07f3e87d937c657d80726e657fbe5b383e468e /src/sysselect.h
parent469094b14248da8e3ec9eafcd842f570bb3cbde9 (diff)
downloademacs-75440ed457807eb0497856d2f3fd857eb4b16664.tar.gz
emacs-75440ed457807eb0497856d2f3fd857eb4b16664.tar.bz2
emacs-75440ed457807eb0497856d2f3fd857eb4b16664.zip
[DARWIN || MAC_OSX ]: Temporarily undefine
init_process when including sys/select.h.
Diffstat (limited to 'src/sysselect.h')
-rw-r--r--src/sysselect.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sysselect.h b/src/sysselect.h
index 4c52bba677a..866a65e9208 100644
--- a/src/sysselect.h
+++ b/src/sysselect.h
@@ -19,7 +19,13 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef HAVE_SYS_SELECT_H
+#if defined (DARWIN) || defined (MAC_OSX)
+#undef init_process
+#endif
#include <sys/select.h>
+#if defined (DARWIN) || defined (MAC_OSX)
+#define init_process emacs_init_process
+#endif
#endif
#ifdef FD_SET