From: YAMAMOTO Mitsuharu Date: Fri, 6 May 2005 08:04:29 +0000 (+0000) Subject: [DARWIN || MAC_OSX ]: Temporarily undefine X-Git-Tag: ttn-vms-21-2-B4~504 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75440ed457807eb0497856d2f3fd857eb4b16664;p=emacs.git [DARWIN || MAC_OSX ]: Temporarily undefine init_process when including sys/select.h. --- 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