From 3fcf2f217e608a1754effaccce2a04ecb78074fe Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 13 Jan 2012 12:41:18 +0200 Subject: [PATCH] client/common: mingw32: workaround HAVE_STDLIB_H redefined in jconfig.h --- gdi_canvas.c | 3 +++ sw_canvas.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gdi_canvas.c b/gdi_canvas.c index f67aadf..64fbbf5 100644 --- a/gdi_canvas.c +++ b/gdi_canvas.c @@ -16,6 +16,9 @@ License along with this library; if not, see . */ #ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif #include #endif diff --git a/sw_canvas.c b/sw_canvas.c index 651c52b..0f67c80 100644 --- a/sw_canvas.c +++ b/sw_canvas.c @@ -16,6 +16,9 @@ License along with this library; if not, see . */ #ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif #include #endif