summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-17 21:03:18 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-17 21:03:18 +0000
commit95dd9c185bef1f97ce71c0dcbe7b0f2521130f26 (patch)
treeec48aaca2ff95ee03c8925b9eed8d91a85c7fd48 /src/pty.c
parented39e1d53cc4916c2390aea635cd8419497c1460 (diff)
downloadvim-git-95dd9c185bef1f97ce71c0dcbe7b0f2521130f26.tar.gz
updated for version 7.2-001v7.2.001
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pty.c b/src/pty.c
index cd17bde2f..d23cb2ef1 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -270,9 +270,10 @@ OpenPTY(ttyn)
}
#endif
-#if defined(HAVE_SVR4_PTYS) && !defined(PTY_DONE) && !defined(hpux)
+#if defined(HAVE_SVR4_PTYS) && !defined(PTY_DONE) && !defined(hpux) && !defined(MACOS_X)
-/* NOTE: Even though HPUX can have /dev/ptmx, the code below doesn't work! */
+/* NOTE: Even though HPUX can have /dev/ptmx, the code below doesn't work!
+ * Same for Mac OS X Leopard. */
#define PTY_DONE
int
OpenPTY(ttyn)