diff src/pty.c @ 1703:ad8f5bdc7274 v7.2.001

updated for version 7.2-001
author vimboss
date Sun, 17 Aug 2008 21:03:18 +0000
parents 18ee39301b82
children 7c8c7c95a865
line wrap: on
line diff
--- 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)