changeset 62105:988582b0e877

[DARWIN || MAC_OSX ]: Temporarily undefine init_process when including sys/select.h.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 06 May 2005 08:04:29 +0000
parents d7baa444ded8
children d731348f032d
files src/sysselect.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysselect.h	Fri May 06 08:03:47 2005 +0000
+++ b/src/sysselect.h	Fri May 06 08:04:29 2005 +0000
@@ -19,7 +19,13 @@
 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