]> git.eshelyaron.com Git - emacs.git/commitdiff
[DARWIN || MAC_OSX ]: Temporarily undefine
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 6 May 2005 08:04:29 +0000 (08:04 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 6 May 2005 08:04:29 +0000 (08:04 +0000)
init_process when including sys/select.h.

src/sysselect.h

index 4c52bba677a15668015fb63409c21f33090e4b1a..866a65e9208777be545eeb0dc0a258995537f67e 100644 (file)
@@ -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