187 |
#include "syswait.h" |
#include "syswait.h" |
188 |
|
|
189 |
extern void set_waiting_for_input P_ ((EMACS_TIME *)); |
extern void set_waiting_for_input P_ ((EMACS_TIME *)); |
190 |
|
extern char *get_operating_system_release (); |
191 |
|
|
192 |
#ifndef USE_CRT_DLL |
#ifndef USE_CRT_DLL |
193 |
extern int errno; |
extern int errno; |
6705 |
Fprovide (intern ("make-network-process"), subfeatures); |
Fprovide (intern ("make-network-process"), subfeatures); |
6706 |
} |
} |
6707 |
#endif /* HAVE_SOCKETS */ |
#endif /* HAVE_SOCKETS */ |
6708 |
|
|
6709 |
|
#ifdef DARWIN |
6710 |
|
/* PTYs are broken on Darwin < 6, but are sometimes useful for interactive |
6711 |
|
processes. As such, we only change the default value. */ |
6712 |
|
if (initialized) |
6713 |
|
{ |
6714 |
|
char *release = get_operating_system_release(); |
6715 |
|
if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION |
6716 |
|
&& release[1] == '.')) { |
6717 |
|
Vprocess_connection_type = Qnil; |
6718 |
|
} |
6719 |
|
} |
6720 |
|
#endif |
6721 |
} |
} |
6722 |
|
|
6723 |
void |
void |