diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vim.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1093,13 +1093,8 @@ typedef enum { /* Prefer using emsg3(), because perror() may send the output to the wrong * destination and mess up the screen. */ -#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) -#endif +#define PERROR(msg) \ + (void) emsg3((char_u *) "%s: %s", (char_u *)msg, (char_u *)strerror(errno)) typedef long linenr_T; /* line number type */ typedef int colnr_T; /* column number type */ |