aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorMiles Bader2005-01-22 21:39:38 +0000
committerMiles Bader2005-01-22 21:39:38 +0000
commit18643d1d412928c57690271c8b7a65e50503441f (patch)
treea9303ce501314fc316c20ca29928b2fa168d0421 /src/s
parentcfa4901a57cc9920eec0401d8b33abac7d3f8e5b (diff)
parentddff82cf89b20912729a1483da3f28608b44115a (diff)
downloademacs-18643d1d412928c57690271c8b7a65e50503441f.tar.gz
emacs-18643d1d412928c57690271c8b7a65e50503441f.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-4
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-41 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-46 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-47 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-4 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-5 Update from CVS: exi/gnus-faq.texi ([4.1]): Typo. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-6 Update from CVS
Diffstat (limited to 'src/s')
-rw-r--r--src/s/darwin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 9f78405a43c..5b162ea08a3 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -37,6 +37,10 @@ Boston, MA 02111-1307, USA. */
37#define BSD_SYSTEM 37#define BSD_SYSTEM
38/* #define VMS */ 38/* #define VMS */
39 39
40#ifndef DARWIN
41#define DARWIN 1
42#endif
43
40/* MAC_OS is used to conditionally compile code common to both MAC_OS8 44/* MAC_OS is used to conditionally compile code common to both MAC_OS8
41 and MAC_OSX. */ 45 and MAC_OSX. */
42#ifdef MAC_OSX 46#ifdef MAC_OSX
@@ -103,10 +107,18 @@ Boston, MA 02111-1307, USA. */
103 107
104/* 108/*
105 * Define HAVE_PTYS if the system supports pty devices. 109 * Define HAVE_PTYS if the system supports pty devices.
110 * Note: PTYs are broken on darwin <6. Use at your own risk.
106 */ 111 */
107 112
108#define HAVE_PTYS 113#define HAVE_PTYS
109 114
115/**
116 * PTYs only work correctly on Darwin 7 or higher. So make the
117 * default for process-connection-type dependent on the kernel
118 * version.
119 */
120#define MIN_PTY_KERNEL_VERSION '7'
121
110/* 122/*
111 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate 123 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
112 * The 4.2 opendir, etc., library functions. 124 * The 4.2 opendir, etc., library functions.