From 75440ed457807eb0497856d2f3fd857eb4b16664 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 6 May 2005 08:04:29 +0000 Subject: [PATCH] [DARWIN || MAC_OSX ]: Temporarily undefine init_process when including sys/select.h. --- src/sysselect.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 +#if defined (DARWIN) || defined (MAC_OSX) +#define init_process emacs_init_process +#endif #endif #ifdef FD_SET -- 2.39.2