mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 08:32:36 -05:00
Fix compilation of puzzles on Windows
mingw exports vsscanf and that clashes with rbwrappers' definition. Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a
This commit is contained in:
parent
0cabc1fc51
commit
793c0411be
1 changed files with 2 additions and 2 deletions
|
|
@ -1585,13 +1585,13 @@ sscanf_wrapper(const char *ibuf, const char *fmt, ...)
|
|||
int ret;
|
||||
|
||||
va_start(ap, fmt);
|
||||
ret = vsscanf(ibuf, fmt, ap);
|
||||
ret = rb_vsscanf(ibuf, fmt, ap);
|
||||
va_end(ap);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
int
|
||||
vsscanf(const char *inp, char const *fmt0, va_list ap)
|
||||
rb_vsscanf(const char *inp, char const *fmt0, va_list ap)
|
||||
{
|
||||
int inr;
|
||||
const u_char *fmt = (const u_char *)fmt0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue