patch 7.4.2080
Problem: When using PERROR() on some systems assert_fails() does not see
the error.
Solution: Make PERROR() always report the error.
diff --git a/src/vim.h b/src/vim.h
index 488f270..e2d4cc4 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1652,7 +1652,7 @@
#ifdef HAVE_STRERROR
# define PERROR(msg) (void)emsg3((char_u *)"%s: %s", (char_u *)msg, (char_u *)strerror(errno))
#else
-# define PERROR(msg) perror(msg)
+# define PERROR(msg) do_perror(msg)
#endif
typedef long linenr_T; /* line number type */