Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6d6dc246
Commit
6d6dc246
authored
Sep 16, 2017
by
Eli Zaretskii
Browse files
Avoid MinGW64 compilation warning in w32.c
* src/w32.c (sys_strerror): Provide a prototype for MinGW64.
parent
d25d2a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/w32.c
src/w32.c
+4
-0
No files found.
src/w32.c
View file @
6d6dc246
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment