Problem: Can't build in MS-Windows.
Solution: Put mch_access() call inside #ifdef
break;
opt->jo_cwd = get_tv_string_buf_chk(item, opt->jo_cwd_buf);
if (opt->jo_cwd == NULL || !mch_isdir(opt->jo_cwd)
- || mch_access((char *)opt->jo_cwd, X_OK) != 0)
+#ifndef WIN32 // Win32 directories don't have the concept of "executable"
+ || mch_access((char *)opt->jo_cwd, X_OK) != 0
+#endif
+ )
{
EMSG2(_(e_invargval), "cwd");
return FAIL;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 486,
/**/
485,
/**/