summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pty.c5
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/pty.c b/src/pty.c
index cd17bde2fb..d23cb2ef12 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)
diff --git a/src/version.c b/src/version.c
index 21d7b143c2..c8565c447a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1,
+/**/
0
};