summaryrefslogtreecommitdiffstats
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-22 21:11:53 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-22 21:11:53 +0200
commit613fe7ad2b8e2d4e990cc56596590a23a42c3f7a (patch)
tree5527ba540d9e47d1546c7010363427f826ca0a5d /src/misc2.c
parent6ed8069c798827ec4448f37bf2795a08fc9cbd05 (diff)
patch 8.0.0751: OpenPTY missing with some combination of featuresv8.0.0751
Problem: OpenPTY missing with some combination of features. (Kazunobu Kuriyama) Solution: Adjust #ifdef. Also include pty.pro when needed.
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 7014e1648d..541069e54b 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -6050,6 +6050,9 @@ moreenv(void)
}
# ifdef USE_VIMPTY_GETENV
+/*
+ * Used for mch_getenv() for Mac.
+ */
char_u *
vimpty_getenv(const char_u *string)
{