From 793c0411beee072d759799008c419310a31cedd2 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 15 Jan 2017 17:57:31 +0100 Subject: Fix compilation of puzzles on Windows mingw exports vsscanf and that clashes with rbwrappers' definition. Change-Id: I87481ff4e93547059b2e1fa8083bedcf8633343a --- apps/plugins/puzzles/rbwrappers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugins/puzzles/rbwrappers.c b/apps/plugins/puzzles/rbwrappers.c index 2762194de3..ae249a0c93 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; -- cgit v1.2.3