Commit 6d6dc246 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Avoid MinGW64 compilation warning in w32.c

* src/w32.c (sys_strerror): Provide a prototype for MinGW64.
parent d25d2a9b
......@@ -82,6 +82,10 @@ int sys_dup2 (int, int);
int sys_read (int, char *, unsigned int);
int sys_write (int, const void *, unsigned int);
struct tm *sys_localtime (const time_t *);
/* MinGW64 system headers include string.h too early, causing the
compiler to emit a warning about sys_strerror having no
prototype. */
char *sys_strerror (int);
#ifdef HAVE_MODULES
extern void dynlib_reset_last_error (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment