diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-15 17:57:31 +0100 |
|---|---|---|
| committer | Franklin Wei <me@fwei.tk> | 2017-01-15 18:30:30 +0100 |
| commit | 793c0411beee072d759799008c419310a31cedd2 (patch) | |
| tree | 43bc9bb79695c52015bc6ce319e6b418bbfa6a92 /apps/plugins | |
| parent | 0cabc1fc5161bc74fc90c756a4e03bc4147cde15 (diff) | |
| download | rockbox-793c0411beee072d759799008c419310a31cedd2.zip rockbox-793c0411beee072d759799008c419310a31cedd2.tar.gz rockbox-793c0411beee072d759799008c419310a31cedd2.tar.bz2 rockbox-793c0411beee072d759799008c419310a31cedd2.tar.xz | |
Fix compilation of puzzles on Windows
mingw exports vsscanf and that clashes with rbwrappers' definition.
Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/puzzles/rbwrappers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/rbwrappers.c b/apps/plugins/puzzles/rbwrappers.c index 2762194..ae249a0 100644 --- a/apps/plugins/puzzles/rbwrappers.c +++ b/apps/plugins/puzzles/rbwrappers.c @@ -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; |