summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-12 18:38:02 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-12 18:38:02 +0100
commit47ffb905f363571072faefbd417938e7ff351a9f (patch)
treee5b758ca24a59efa72246dd742e9d508c3add5f7 /src/config.h.in
parentabb4d5f73fd97d8f3c3e32311959929820e74b54 (diff)
downloadvim-git-47ffb905f363571072faefbd417938e7ff351a9f.tar.gz
patch 8.0.0450: v:progpath is not reliably setv8.0.0450
Problem: v:progpath is not reliably set. Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal) Also fixes missing #if.
Diffstat (limited to 'src/config.h.in')
-rw-r--r--src/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
index 49ed596f4..a9bcf1ef3 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -446,6 +446,9 @@
/* Define if fcntl()'s F_SETFD command knows about FD_CLOEXEC */
#undef HAVE_FD_CLOEXEC
+/* Define if /proc/self/exe can be read */
+#undef HAVE_PROC_SELF_EXE
+
/* Define if you want Cygwin to use the WIN32 clipboard, not compatible with X11*/
#undef FEAT_CYGWIN_WIN32_CLIPBOARD