From e8efd344c0aff13efc1576aade87b34712a7a7cd 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 --- common/gdi_canvas.c | 3 +++ common/sw_canvas.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index f67aadf..64fbbf5 100644 --- a/common/gdi_canvas.c +++ b/common/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/common/sw_canvas.c b/common/sw_canvas.c index 651c52b..0f67c80 100644 --- a/common/sw_canvas.c +++ b/common/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